[solved]why my wireless can't connect without wired connection?
I'm using wicd as network manager , but it can't connect successfully without wired connection. i have to use wired first, then i connect wireless , it can connect successfully, otherwise, it just can't connect to internet.
please help. |
What distro/version?
|
slackware 13.37, Broadcom Corporation BCM4313
|
I'm wondering whether your wireless is actually connecting. Slackware does not include Broadcom support by default, but you can find what you need on Slackbuilds.org. If you have done something it install the Broadcom support, please outline what you've done.
Have you compared the output of ifconfig -a when the wired is not connected, when it alone is connected, then again when the wired (and wireless) are connected? If you post that here, be sure to surround it in code tags, which become available when you click the "Go Advanced" button at the bottom of the "Quick Reply" window. Also, are you using a network manager or init files to configure your connection? That could also be useful information. I struggled with Broadcom on Slackware Current myself, and eventually got it working with the help of LQ. You can see the replies to my thread here. You might find something useful there. http://www.linuxquestions.org/questi...urrent-926077/ |
I think BCM4313 is recognized as eth1 in my system, cause there is no wlan0. It can connect to router every time, [I can access the interface of router] but i can't access any website, it always shows 'checking the dns' sort of thing, unless i keep the wired connection on for a while. i tried to add the dns ip into /etc/resolv.conf and 'chattr +i' that file, it still doesn't work. it's frustrated, i feel i'll never work this out.
|
Could you post the output of ifconfig -a and the contents of you config files as requested above, as well as the output of lspci? That might us a hint.
Please surround them in code tags, as noted above. It makes them a lot easier to read. Here'a link to the networking section from the Slackbook; it's a little outdated, but maybe it will help. http://www.slackbook.org/html/book.h...GURATION-TCPIP |
sorry i replied this so late,
Code:
$ ifconfig -a |
Re: Your late reply: all I can say is how dare you have a life?;)
Your wired connection would be eth0; eth1 should be your wireless card, correct. What network manager are you using and does it show any wireless networks as available when you know you are in range of wifi? wicd is my preferred network manager for wireless, but I have had situations in which network-manager was preferable. There is some very useful diagnostic information here: http://linuxwireless.org/en/users/Drivers/b43 I don't have a solution to offer you, but, if we keep plugging, we'll get there. |
hehe.
I am using wicd , honestly i don't know if the 'network-manager' is runing at the same time, i run 'pgrep network-manager' , get nothing , I'm quite sure wicd does show there is wireless card available, and it says eth1 is the wireless yeah, like you said, problems eventually get fixed, sometimes it takes so long time and when u finally get it right u even forget when u started, torture with joy |
Does wicd show any available wireless networks when you start the GUI? (I think it's called wicd-client).
|
yes, it shows two wireless networks available, one is my own wireless router, another one is somewhere around neighbourhood, the only problem about wireless stuff is that dns part doesn't work, i can access my router with wired connection unpluged, but if i open any website, always showing alynasis dns on the bar of brower, and can never get it. i set the dns in many ways, gloable, static, etc. still doesn't work. i think the dirver may be not complete functional yet, i check all the links in your post and followed some instructions, it shows BCM4313's PCI-ID of my computer is 14e4:4727 , which is not in supported list, but I am not sure, english reading is quite challenging.
|
If you are having problem with dns most of the time could you try and connect using an IP address? Pick one.
Code:
google.com. 114 IN A 173.194.70.113 I'm having the impression that the wirelesscard does not get any dns server through dhcp. Did you check your access point settings for valid dns options? |
It sounds as if your wireless card is working okay, but for some reason it's not picking up a valid DNS.
When you look in your router configuration, what does the router show for primary and secondary DNS? Also, what is the output of cat /etc/resolv.conf using the wireless alone and using the wired alone? This link will explain why I ask that second question: http://www.slackbook.org/html/book.h...TCPIP-RESOLVER Briefly, to see whether there's a difference in the DNS settings between wired and wireless. |
thank you all first. : )
zhjim, I didn't tried access website through ip directly, i did try to ping ip, like 8.8.8.8 or www.baidu.com , both didn't work, I'll try it next time after i reboot my machine , right now wireless is working with wired connection. I can't reboot my machine now :P frankbell, about difference, when first i installed wicd , the default configuration of wicd, there was an extra line ' domain domain ' in the resolve.conf file, which doesn't exist when i used wired connection. I edited the dns sectoion in router and then there is no diffrence in resolve.conf between wireless and wired connection, but problem remains I'd like to ask another quesiton, what is '/var/run/wicd/wicd.pid' for ? why can't i reboot wicd before I delete this file and command 'pgrep wicd' shows nothing? |
Please post the output of the route command or 'ip route show'. It sounds to me that eth0 is your default route even when using just wireless is being used. Without a default route you can't reach the internet.
Also check your router. Does it filter your wireless connection based on MAC address. You may need to shut down the wired connection so you don't have two interfaces on the same network segment |
All times are GMT -5. The time now is 09:57 AM. |