[SOLVED] why my wireless can't connect without wired connection?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
[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.
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.
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.
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:
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
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.
google.com. 114 IN A 184.108.40.206
google.com. 114 IN A 220.127.116.11
google.com. 114 IN A 18.104.22.168
google.com. 114 IN A 22.214.171.124
google.com. 114 IN A 126.96.36.199
google.com. 114 IN A 188.8.131.52
Also cat your /etc/resolv.conf before and after making connections with the network. Either wired or wiredless. So we can see if and with what values it gets.
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?
zhjim, I didn't tried access website through ip directly, i did try to ping ip, like 184.108.40.206 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