OK, here is the output right after boot from ifconfig, ping, sudo ifdown ath1, sudo ifup ath1:
[EMAIL PROTECTED]:~$ ifconfig ath0 Link encap:Ethernet HWaddr 00:90:96:59:d8:fa inet6 addr: fe80::290:96ff:fe59:d8fa/64 Scope:Link UP BROADCAST RUNNING 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ath1 Link encap:Ethernet HWaddr 00:14:6c:d5:15:e0 inet6 addr: fe80::214:6cff:fed5:15e0/64 Scope:Link 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ath1:avahi Link encap:Ethernet HWaddr 00:14:6c:d5:15:e0 inet addr:169.254.8.32 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 eth0 Link encap:Ethernet HWaddr 00:02:3f:81:ef:28 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:17 Base address:0x3000 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:16436 Metric:1 RX packets:1470 errors:0 dropped:0 overruns:0 frame:0 TX packets:1470 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:73692 (71.9 KB) TX bytes:73692 (71.9 KB) wifi0 Link encap:UNSPEC HWaddr 00-90-96-59-D8-FA-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:63 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:0 (0.0 B) TX bytes:2268 (2.2 KB) Interrupt:19 wifi1 Link encap:UNSPEC HWaddr 00-14-6C-D5-15-E0-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:654 errors:0 dropped:0 overruns:0 frame:81 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:165888 (162.0 KB) TX bytes:2346 (2.2 KB) Interrupt:16 [EMAIL PROTECTED]:~$ ping -n 4.2.2.2 -c 4 PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data. >From 169.254.8.32 icmp_seq=1 Destination Host Unreachable >From 169.254.8.32 icmp_seq=2 Destination Host Unreachable >From 169.254.8.32 icmp_seq=3 Destination Host Unreachable >From 169.254.8.32 icmp_seq=4 Destination Host Unreachable --- 4.2.2.2 ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3008ms , pipe 3 [EMAIL PROTECTED]:~$ sudo ifdown ath1 [sudo] password for eugene: There is already a pid file /var/run/dhclient.ath1.pid with pid 5785 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.0.6 Copyright 2004-2007 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wifi1: unknown hardware address type 801 wifi0: unknown hardware address type 801 wifi1: unknown hardware address type 801 wifi0: unknown hardware address type 801 Listening on LPF/ath1/00:14:6c:d5:15:e0 Sending on LPF/ath1/00:14:6c:d5:15:e0 Sending on Socket/fallback DHCPRELEASE on ath1 to 10.0.1.1 port 67 [EMAIL PROTECTED]:~$ sudo ifup ath1 There is already a pid file /var/run/dhclient.ath1.pid with pid 134519072 Internet Systems Consortium DHCP Client V3.0.6 Copyright 2004-2007 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wifi1: unknown hardware address type 801 wifi0: unknown hardware address type 801 wifi1: unknown hardware address type 801 wifi0: unknown hardware address type 801 Listening on LPF/ath1/00:14:6c:d5:15:e0 Sending on LPF/ath1/00:14:6c:d5:15:e0 Sending on Socket/fallback DHCPDISCOVER on ath1 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on ath1 to 255.255.255.255 port 67 interval 11 DHCPOFFER of 10.0.1.198 from 10.0.1.1 DHCPREQUEST of 10.0.1.198 on ath1 to 255.255.255.255 port 67 DHCPACK of 10.0.1.198 from 10.0.1.1 bound to 10.0.1.198 -- renewal in 6614 seconds. [EMAIL PROTECTED]:~$ ifconfig ath0 Link encap:Ethernet HWaddr 00:90:96:59:d8:fa inet6 addr: fe80::290:96ff:fe59:d8fa/64 Scope:Link UP BROADCAST RUNNING 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ath1 Link encap:Ethernet HWaddr 00:14:6c:d5:15:e0 inet addr:10.0.1.198 Bcast:10.0.1.255 Mask:255.255.255.0 inet6 addr: 2002:45f5:df95:0:214:6cff:fed5:15e0/64 Scope:Global inet6 addr: fe80::214:6cff:fed5:15e0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:29 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1882 (1.8 KB) TX bytes:4873 (4.7 KB) eth0 Link encap:Ethernet HWaddr 00:02:3f:81:ef:28 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:17 Base address:0x3000 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:16436 Metric:1 RX packets:1474 errors:0 dropped:0 overruns:0 frame:0 TX packets:1474 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:74140 (72.4 KB) TX bytes:74140 (72.4 KB) wifi0 Link encap:UNSPEC HWaddr 00-90-96-59-D8-FA-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:117 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:0 (0.0 B) TX bytes:4212 (4.1 KB) Interrupt:19 wifi1 Link encap:UNSPEC HWaddr 00-14-6C-D5-15-E0-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1625 errors:0 dropped:0 overruns:0 frame:149 TX packets:119 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:411148 (401.5 KB) TX bytes:10796 (10.5 KB) Interrupt:16 --- On Sun, 7/20/08, Jon <[EMAIL PROTECTED]> wrote: From: Jon <[EMAIL PROTECTED]> Subject: Re: [fwlug] getting wireless card to work To: [EMAIL PROTECTED], "Fort Wayne Linux Users Group" <[email protected]> Date: Sunday, July 20, 2008, 6:30 PM Hrm. I'm not sure. Can you run ifconfig after boot and copy the output here? On Sat, 2008-07-19 at 09:33 -0700, Eugene Tsai wrote: > iface ath1 inet dhcp > auto ath1 > > Thanks for the response. I checked the file /etc/network/interfaces. > Those commands are already in the file as shown above. Does the order > of the two lines matter? > > Eugene Tsai > > > --- On Sat, 7/19/08, Jon <[EMAIL PROTECTED]> wrote: > From: Jon <[EMAIL PROTECTED]> > Subject: Re: [fwlug] getting wireless card to work > To: [EMAIL PROTECTED], "Fort Wayne Linux Users Group" > <[email protected]> > Date: Saturday, July 19, 2008, 10:08 AM > > You'll want to add an entry for it to /etc/networking/interfaces, it > will look similar to this: > > auto ath0 > #iface ath0 inet dhcp > > The auto directive will make it come up automatically at boot, > and > shutdown cleanly when you power down. > > The iface line (which is commented out in the example above) will let > you set options such as dhcp, or nameservers, or a wireless network to > autoconnect to. > > If you want to just automatically do the ifup/ifdown the > auto line is > all you need. > > Happy hacking!! > > On Sat, 2008-07-19 at 01:07 -0700, Eugene Tsai wrote: > > Hi there, > > I am a linux newbie and recently installed ubuntu onto a Toshiba > > laptop (Satellite P25-S607). I have a couple questions about a Netgear > > WPN511 PCMIA card that worked under Windows to connect wirelessly to > > my router at home. Initially, the card did not work. But after a bit > > of internet research and trial and error, I am able to get the card to > > work, but not automatically. That is, when I first boot up, the card > > does not work, until I use the Terminal program and enter the > > following > lines: > > sudo ifdown ath1 > > sudo ifup ath1 > > After those two commands, the wireless card works. How do I set up the > > computer so that I don't have to manually type in those two commands? > > Can someone explain what is going on and why is it that these > two > > commands are able to get the card to work? > > > > Thanks, > > Eugene Tsai > > > > > > > > _______________________________________________ > > Fwlug mailing list > > [email protected] > > http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org > -- > -- > Jon Bartels > [EMAIL PROTECTED] > > _______________________________________________ > Fwlug mailing list > [email protected] > http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org -- -- Jon Bartels [EMAIL PROTECTED]
_______________________________________________ Fwlug mailing list [email protected] http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
