Thank you liyaoshi!
 
It's true, ra0 is the device,

Now I've modified it:

auto lo

iface lo inet loopback

 

auto ra0

iface ra0 inet dhcp

wpa-ssid "AXTEL-2162"

wpa-psk "0804D82162"

 

iface usb0 inet static

    address 192.168.7.2

    netmask 255.255.255.0

    network 192.168.7.0

    gateway 192.168.7.1


and I get this with ifconfig:


eth0      Link encap:Ethernet  HWaddr 7c:66:9d:5a:56:57

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:40

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

ra0       Link encap:Ethernet  HWaddr 7c:dd:90:57:f8:d3

          inet6 addr: fe80::7edd:90ff:fe57:f8d3/64 Scope:Link

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:369 errors:0 dropped:0 overruns:0 frame:0

          TX packets:994 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:33678 (32.8 KiB)  TX bytes:103376 (100.9 KiB)

 

usb0      Link encap:Ethernet  HWaddr c2:c3:e1:78:a5:12

          inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252

          inet6 addr: fe80::c0c3:e1ff:fe78:a512/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:872 errors:0 dropped:0 overruns:0 frame:0

          TX packets:481 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:76339 (74.5 KiB)  TX bytes:94973 (92.7 KiB)



but when I do ping to www.google.com it does not work.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to