Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an intel 3945ABG wireless card.
I installed "firmware-iwlwifi" with apt-get but I cannot enter in my network's SSID and wep.
On GNOME, I click system, preferences, and networking, and I get that nice network menu, but it doesn't do anything!
It detects my wireless and wired card. I click on wireless, enter in my ssid, click WEP (hexadecimal), enter in my code. I choose auto DHCP.
Then in the terminal I type iwconfig. It shows "wlan0" but the SSID field is blank.
Has this wireless card worked previously, on another install?
After you have "connected" to the target network; Type this command
Code:
ifconfig -a
, press [ENTER] and post back the output. Be sure to not post your real IP address. (e.g. xx.xx.xx.xx)
Could you post the exact message of the error received when pinging yahoo.com?
What are your firewall settings? If you have one, be sure to "allow" your IP address, subnet mask, and gateway, DNS servers and broadcast address. Perhaps if you have one you can temporarily turn it off to test if thats the problem.
For the record, i don't think you should be getting a 10.xx.xx.xx IP address. Perhaps you use a static IP?
On wired only. I'm on only if I connect it directly to the router with an ethernet cable.
I can use wireless in windows vista with no problems.
Quote:
Has this wireless card worked previously, on another install?
I haven't ever set up debian on a laptop, but this computer is dual booting with vista which can connect to the network wirelessly.
Also, I've used puppy linux on this laptop, and it went wirelessly without any drivers at all.
Quote:
After you have "connected" to the target network; Type this command
Code:
ifconfig -a
, press [ENTER] and post back the output. Be sure to not post your real IP address. (e.g. xx.xx.xx.xx)
Code:
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:10.0.0.13 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xx/xx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1165 errors:0 dropped:0 overruns:0 frame:0
TX packets:1150 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:894234 (873.2 KiB) TX bytes:212080 (207.1 KiB)
Interrupt:219 Base address:0xc000
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:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:648 (648.0 B) TX bytes:648 (648.0 B)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
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)
wmaster0 Link encap:UNSPEC HWaddr xx-xx-xx-xx-xx-xx-xx-xx-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
(I replaced HWaddr with xx's, it returned a bunch of hexidecimal, I don't know if I should post that. I know that 127.0.0.1 is local)
10.0.0.x is my router. Our previous dlink router used the typical 192.68.0.1.1 or whatever.
Quote:
Could you post the exact message of the error received when pinging yahoo.com?
What are your firewall settings? If you have one, be sure to "allow" your IP address, subnet mask, and gateway, DNS servers and broadcast address. Perhaps if you have one you can temporarily turn it off to test if thats the problem.
I have no hardware firewall, only the router and WEP.
Quote:
For the record, i don't think you should be getting a 10.xx.xx.xx IP address. Perhaps you use a static IP?
Windows/linux both report that my ip is 10.0.0.xx when I connect. (windows says the same ip for wireless and wired.)
Going to whatismyipaddress.com reports the same IP from any computer in this house.
The ISP has changed it before in the past so I don't think I have a static. If I enter in 10.0.0.1 in my browser then that's how I can log into my router.
The wlan0 scan command DOES show my router and its name in the list, but even after I enter in the ssid/wep it won't let me connect. I even tried turning off wep temporarally to see if I was putting in the wrong pass (even though I entered it exactly from the router login page). No luck.
Does Windows report your IP address as assigned by DHCP?
The IP settings are set to "Obtain an IP automatically.", and "Obtain a DNS server automatically." Using the default settings in my router (besides WEP added), all I did on windows was click "Connect to network", picked my ssid, and entered in the wep.
The IP settings are set to "Obtain an IP automatically.", and "Obtain a DNS server automatically." Using the default settings in my router (besides WEP added), all I did on windows was click "Connect to network", picked my ssid, and entered in the wep.
Huh. Weird. It seemed like the quick fix for that guy.
Look at this how-to. I know you installed the firmware, but have you properly loaded it?
It works now, but only when I disable wep.
What am I doing wrong?
My router asks for a "passphrase" when making the wep.
After I enter in a phrase (let's use "foobar" for example) it then generates four hex codes all with 10 digits/letters each. I entered the first one in windows and it took it.
I went to gnome's network manager, entered in ssid, chose WEP key (hexadecimal) and entered in the 10 digits/numbers but it won't work no matter what.
Go ahead and put this into a Terminal after enabling WEP.
Perhaps that might work now?
SUCCESS!
Thank you so very much.
One final question...
When I am starting debian, before I even get to X, sometimes it halts at DHCPCD and says like
Code:
DHCPDISCOVER ON 255.255.255.0 interval 3
DHCPDISCOVER ON 255.255.255.0 interval 7
DHCPDISCOVER ON 255.255.255.0 interval 18
DHCPDISCOVER ON 255.255.255.0 interval 4
DHCPDISCOVER ON 255.255.255.0 interval 1
Could not set IP
That's not the exact ouptut, but I'm assuming it's dhcp trying to find a connection. How can I disable network configuration until I get into X, everything is loaded, etc, because this seriously goes through that for like 5 mins, forever to boot.
Well, if you want, you could make a bash script and include
Quote:
iwconfig wlan0 retry <value>
and have it execute on start-up.
that seems to be a common problem, in one of the above links.
Oh, and if I helped you, it's very nice to hit the "Thanks" button on my post.
If and when the issue gets solved to your liking you can got to Thread Tools at the top of the webpage and mark it as solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.