Thank you for providing this great script and guide,
compwiz18! I am actually posting from Feisty, so it worked to some degree.
But still all's not well, I'm afraid.
I am using ndiswrapper. The icon in the upper right corner says "no network connection", and I cannot get it to connect to the network, which is displayed correctly though.
I am a first-day newbie (with Ubuntu at least, and all my other experimenting with Linux was years ago), so I just tried out some of the troubleshooting stuff on the first page. After doing ifdown/ifup, I noticed that the router had obviously dished out an IP, and tried a ping - which worked, as does Firefox!
But still the icon says "no connection", and I cannot get it to connect manually. The internet's gone after a reboot, too - but comes back up after ifdown/ifup.
Code:
Log of iwconfig
Mon May 28 13:25:12 2007
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"eschbaumer"
Mode:Managed Frequency:2.457 GHz Access Point: 00:13:49:9E:F2:0E
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:43/100 Signal level:-68 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Mon May 28 13:25:12 2007
----------------
Log of ifconfig
Mon May 28 13:25:12 2007
eth0 Link encap:Ethernet HWaddr 00:14:22:9D:53:05
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:19
eth1 Link encap:Ethernet HWaddr 00:14:A5:82:59:26
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:762 (762.0 b) TX bytes:1200 (1.1 KiB)
Interrupt:18 Memory:dfbfe000-dfc00000
eth0:avah Link encap:Ethernet HWaddr 00:14:22:9D:53:05
inet addr:169.254.3.149 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:19
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:778 (778.0 b) TX bytes:778 (778.0 b)
Mon May 28 13:25:12 2007
----------------
Log of iwlist scan
Mon May 28 13:25:12 2007
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:13:49:9E:F2:0E
ESSID:"eschbaumer"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality:42/100 Signal level:-69 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Mon May 28 13:25:16 2007
----------------
Log of ifdown eth1
Mon May 28 13:27:04 2007
There is already a pid file /var/run/dhclient.eth1.pid with pid 4362
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:14:a5:82:59:26
Sending on LPF/eth1/00:14:a5:82:59:26
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
Mon May 28 13:27:13 2007
----------------
Log of ifup eth1
Mon May 28 13:27:13 2007
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:14:a5:82:59:26
Sending on LPF/eth1/00:14:a5:82:59:26
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.34 -- renewal in 112902 seconds.
Then it hangs, I have to stop the process using Ctrl-C. But still:
Code:
Log of ping ubuntu.com
Mon May 28 13:28:39 2007
PING ubuntu.com (82.211.81.158) 56(84) bytes of data.
64 bytes from arctowski.ubuntu.com (82.211.81.158): icmp_seq=2 ttl=44 time=75.2 ms
64 bytes from arctowski.ubuntu.com (82.211.81.158): icmp_seq=3 ttl=44 time=74.7 ms
64 bytes from arctowski.ubuntu.com (82.211.81.158): icmp_seq=4 ttl=44 time=73.8 ms
64 bytes from arctowski.ubuntu.com (82.211.81.158): icmp_seq=5 ttl=44 time=75.6 ms
64 bytes from arctowski.ubuntu.com (82.211.81.158): icmp_seq=6 ttl=44 time=73.6 ms
The point is, the network I am using for this is unsecured. But the network I will be using once the system is set up correctly will have WPA, and I cannot change that. I doubt that this kind of "backdoor" internet connection will work there.
Please let me know if there are any other logs you need to see.
Code:
Mon May 28 13:54:48 2007
----------------
Log of ifconfig
Mon May 28 13:54:48 2007
eth1 Link encap:Ethernet HWaddr 00:14:A5:82:59:26
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fe82:5926/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1576 errors:0 dropped:0 overruns:0 frame:0
TX packets:1514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1298180 (1.2 MiB) TX bytes:255876 (249.8 KiB)
Interrupt:18 Memory:dfbfe000-dfc00000
eth0:avah Link encap:Ethernet HWaddr 00:14:22:9D:53:05
inet addr:169.254.3.149 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:19
I don't know where this IP (169.254...) came from. Whatismyipaddress.com says mine is 88.64.58.130, and the local ones are 192.168.1..., as you can see above.
Bookmarks