Results 1 to 2 of 2
O.k., I've got a weird one for you guys this time. I just reinstalled my linux system which was working fine with an upgraded kubuntu 7.10 just today. When I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-11-2007 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
Local Networking not Working with Wireless?
O.k., I've got a weird one for you guys this time. I just reinstalled my linux system which was working fine with an upgraded kubuntu 7.10 just today. When I reformatted and did a clean install, I found that the restricted-manager was offering a new driver for my wireless card (BCM4318: I formerly used ndiswrapper). I installed it and almost jumped for joy when it connected easily and I updated my system with apt easily. Before the update, I used samba to back up several files I need on a server at 192.168.1.122 that usually just stores music to save space on my laptop. However, when I went into remote places->Samba shares I got an "unable to find any workgroups in your network" error. I had played with samba earlier in the day, but when I was running from the livecd,it responded just fine. Eventually, I resorted to pinging my server as you will see below, but I got a "host unreachable". I figured there might be a problem with the new driver, so I sullenly blacklisted it and installed the ndiswrapper version. No luck there either. I tried to ping my router at 192.168.1.1, but that didn't respond either... I've played around in my /etc/network/interfaces for a while and still couldn't figure it out. Why in the world can I not find my local network (including router), but I can get to google (and this post) just fine?
But then, when I plug directly into the router with my ethernet cable...Code:alaric@alaric-laptop:~/.Wireless$ cat /etc/network/interfaces auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 iface eth0 inet static address 192.168.1.121 netmask 255.255.255.0 gateway 192.168.1.1 auto eth0 iface eth1 inet dhcp wireless-essid ***** auto eth1 alaric@alaric-laptop:~/.Wireless$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... RTNETLINK answers: No such process There is already a pid file /var/run/dhclient.eth1.pid with pid 9753 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.0.5 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:e9:2c:09 Sending on LPF/eth1/00:14:a5:e9:2c:09 Sending on Socket/fallback DHCPRELEASE on eth1 to 192.168.1.1 port 67 There is already a pid file /var/run/dhclient.eth1.pid with pid 134519120 Internet Systems Consortium DHCP Client V3.0.5 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:e9:2c:09 Sending on LPF/eth1/00:14:a5:e9:2c:09 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.109 -- renewal in 41396 seconds. [ OK ] alaric@alaric-laptop:~/.Wireless$ sudo ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. From 192.168.1.121 icmp_seq=1 Destination Host Unreachable From 192.168.1.121 icmp_seq=2 Destination Host Unreachable From 192.168.1.121 icmp_seq=3 Destination Host Unreachable --- 192.168.1.1 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3007ms , pipe 3 alaric@alaric-laptop:~/.Wireless$ sudo ping 192.168.1.122 -c 2 PING 192.168.1.122 (192.168.1.122) 56(84) bytes of data. From 192.168.1.121 icmp_seq=1 Destination Host Unreachable From 192.168.1.121 icmp_seq=2 Destination Host Unreachable --- 192.168.1.122 ping statistics --- 2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1011ms , pipe 2 alaric@alaric-laptop:~/.Wireless$ ping www.google.com PING www.l.google.com (64.233.167.99) 56(84) bytes of data. 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=243 time=76.5 ms 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=2 ttl=243 time=76.2 ms --- www.l.google.com ping statistics --- 3 packets transmitted, 2 received, 33% packet loss, time 1999ms rtt min/avg/max/mdev = 76.243/76.419/76.596/0.327 ms alaric@alaric-laptop:~/.Wireless$ ndiswrapper -l wmp54gsa : driver installed device (14E4:4318) present (alternate driver: bcm43xx) alaric@alaric-laptop:~/.Wireless$ lsmod | grep bcm alaric@alaric-laptop:~/.Wireless$
Here's an ifconfig with the ethernet plugged in as well.Code:alaric@alaric-laptop:~/.Wireless$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... RTNETLINK answers: No such process There is already a pid file /var/run/dhclient.eth1.pid with pid 9929 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.0.5 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:e9:2c:09 Sending on LPF/eth1/00:14:a5:e9:2c:09 Sending on Socket/fallback DHCPRELEASE on eth1 to 192.168.1.1 port 67 There is already a pid file /var/run/dhclient.eth1.pid with pid 134519120 Internet Systems Consortium DHCP Client V3.0.5 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:e9:2c:09 Sending on LPF/eth1/00:14:a5:e9:2c:09 Sending on Socket/fallback DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3 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.109 -- renewal in 39532 seconds. [ OK ] alaric@alaric-laptop:~/.Wireless$ ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=3.10 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.580 ms --- 192.168.1.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.580/1.842/3.105/1.263 ms alaric@alaric-laptop:~/.Wireless$ ping 192.168.1.122 -c 2 PING 192.168.1.122 (192.168.1.122) 56(84) bytes of data. 64 bytes from 192.168.1.122: icmp_seq=1 ttl=64 time=1.40 ms 64 bytes from 192.168.1.122: icmp_seq=2 ttl=64 time=0.199 ms --- 192.168.1.122 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.199/0.802/1.406/0.604 ms alaric@alaric-laptop:~/.Wireless$
Code:alaric@alaric-laptop:~/.Wireless$ ifconfig eth0 Link encap:Ethernet HWaddr 00:16:D4:42:9B:31 inet addr:192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::216:d4ff:fe42:9b31/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2228305 errors:0 dropped:0 overruns:0 frame:0 TX packets:1282927 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3171813381 (2.9 GB) TX bytes:97511297 (92.9 MB) Interrupt:19 Base address:0x6000 eth1 Link encap:Ethernet HWaddr 00:14:A5:E9:2C:09 inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::214:a5ff:fee9:2c09/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1841 errors:0 dropped:0 overruns:0 frame:0 TX packets:2370 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:860015 (839.8 KB) TX bytes:317589 (310.1 KB) Interrupt:20 Memory:c0200000-c0202000 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:76 errors:0 dropped:0 overruns:0 frame:0 TX packets:76 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7687 (7.5 KB) TX bytes:7687 (7.5 KB)
- 11-11-2007 #2Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
hmm... I commented out my ethernet settings in /etc/network/interfaces, set my wireless network to static, and restarted my networking and it works now. Problem solved.


Reply With Quote
