LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Lose Wireless Connection when Wired connection is disconnected (https://www.linuxquestions.org/questions/linux-wireless-networking-41/lose-wireless-connection-when-wired-connection-is-disconnected-781826/)

nimnull22 01-15-2010 02:01 PM

Do you use Ubuntu 9.1.0 or 9.10?

Please do next:
disconnect ethernet and wireless, turn wireless off, then turn it on and in root console type:
Code:

dmesg | tail -n 50
Post please output to http://pastebin.com/, because it will be long.

Thanks

P.S.

Post as well output without ethernet for:
Code:

ifconfig -a
Thanks

phillywill 01-15-2010 03:19 PM

I'm using Ubuntu 9.10 - Thank you noticing the error. I changed my profile.
I also posted in pastebin the results of code "dmesg | tail -n 50"
Thanks
Will

phillywill 01-15-2010 03:24 PM

Results of ifconfig -a

william@william-laptop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:20:e0:70:bc:ab
inet6 addr: fe80::220:e0ff:fe70:bcab/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3458 errors:0 dropped:0 overruns:0 frame:0
TX packets:1700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1045293 (1.0 MB) TX bytes:339275 (339.2 KB)

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:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10633 (10.6 KB) TX bytes:10633 (10.6 KB)

wlan1 Link encap:Ethernet HWaddr 00:0f:66:ec:9f:7e
inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0
inet6 addr: fe80::20f:66ff:feec:9f7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:5834 (5.8 KB)

william@william-laptop:~$

nimnull22 01-15-2010 03:33 PM

Post here please a URL to your post in pastebin
It looks like "http://pastebin.com/bla-bla-bla

Thanks

phillywill 01-15-2010 03:36 PM

Sorry.
I'm learning a lot - Thank You
here's the link:
http://pastebin.com/m33155da8

phillywill 01-15-2010 03:39 PM

http://pastebin.com/m33155da8

nimnull22 01-15-2010 03:54 PM

Ok thanks,

Please while connected only with wireless, in root console type:
Code:

dhclient wlan1
And after this, please post here output of previous command and output of:
Code:

ifconfig wlan1
Thanks

phillywill 01-15-2010 04:08 PM

Phillywill
Result of code: dhclient wlan1:

Internet Systems Consortium DHCP Client V3.1.2

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on Socket/fallback

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 1

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

william@william-laptop:~$


Result of ifconfig wlan1:

william@william-laptop:~$ ifconfig wlan1

wlan1 Link encap:Ethernet HWaddr 00:0f:66:ec:9f:7e

inet6 addr: fe80::20f:66ff:feec:9f7e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:16511 (16.5 KB)

nimnull22 01-15-2010 04:15 PM

Ok, please connect to router with ethernet and do again:
Code:

dhclient eth0
Post please output of this command.
Thanks

phillywill 01-15-2010 05:02 PM

Phillywill
Result of code: dhclient wlan1:

Internet Systems Consortium DHCP Client V3.1.2

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on Socket/fallback

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 1

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

william@william-laptop:~$


Result of ifconfig wlan1:

william@william-laptop:~$ ifconfig wlan1

wlan1 Link encap:Ethernet HWaddr 00:0f:66:ec:9f:7e

inet6 addr: fe80::20f:66ff:feec:9f7e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:16511 (16.5 KB)

phillywill 01-15-2010 05:05 PM

Reconnected Ethernet and result oif code: dhclient eth0

william@william-laptop:~$ sudo dhclient eth0
[sudo] password for william:
There is already a pid file /var/run/dhclient.pid with pid 2721
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:20:e0:70:bc:ab
Sending on LPF/eth0/00:20:e0:70:bc:ab
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER of 192.168.1.39 from 192.168.1.1
DHCPREQUEST of 192.168.1.39 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.39 from 192.168.1.1
bound to 192.168.1.39 -- renewal in 38622 seconds.
william@william-laptop:~$

phillywill 01-15-2010 05:10 PM

Phillywill
Result of code: dhclient wlan1:

Internet Systems Consortium DHCP Client V3.1.2

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on Socket/fallback

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 1

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

william@william-laptop:~$


Result of ifconfig wlan1:

william@william-laptop:~$ ifconfig wlan1

wlan1 Link encap:Ethernet HWaddr 00:0f:66:ec:9f:7e

inet6 addr: fe80::20f:66ff:feec:9f7e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:16511 (16.5 KB)

nimnull22 01-15-2010 05:18 PM

Can you please check on your router, if dhcp enabled for wireless.
Because it is looks like your computer can get IP addresses from router through ethernet, but unable to do it through wireless.
Check it, please.
There should be something like DHCP server settings.

Thanks.

phillywill 01-15-2010 05:24 PM

Phillywill
Result of code: dhclient wlan1:

Internet Systems Consortium DHCP Client V3.1.2

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on LPF/wlan1/00:0f:66:ec:9f:7e

Sending on Socket/fallback

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 1

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

william@william-laptop:~$


Result of ifconfig wlan1:

william@william-laptop:~$ ifconfig wlan1

wlan1 Link encap:Ethernet HWaddr 00:0f:66:ec:9f:7e

inet6 addr: fe80::20f:66ff:feec:9f7e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:16511 (16.5 KB)

phillywill 01-15-2010 05:33 PM

I know the router works O.K. With wireless, because I have anothere laptop and a printer both operating through wireless connection with no problem.


All times are GMT -5. The time now is 06:57 PM.