Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Is this normal when you don't use "eth0" as your interface, or have I got something wrong? It works, but I'm not comfortable seeing an error from dhcp.
I have configured a Netgear WG311T wireless card on my Debian 2.6.8 system a bit differently from what I found in the documentation; mainly because I was having a lot of problems getting the thing to connect to my router. And since I wound up with a script that worked, I used it. I never got wpa_supplicant working, and removed it from my system. I'm using madwifi. Here's what I wound up with in my config files:
/etc/network/interfaces: (relevant lines)
auto ath0
iface ath0 inet dhcp
pre-up sh /etc/network/ath0/ath0.sh
/etc/network/ath0/ath0.sh:
#!/bin/sh
/sbin/iwconfig ath0 essid OurHouse channel 8 ap any key FFFFFFFFFF restricted
/sbin/iwconfig ath0 mode Managed txpower auto rate 11M auto sens -80 commit
/sbin/iwpriv ath0 authmode 2
/sbin/ifconfig ath0 up
echo "ath0 configured"
exit 0
/etc/dhcp/config: (relevant lines)
case ${INTERFACE} in
eth0 | ath0)
Thanks for any comments and help clearing this error/warning(?) message.
I thought it was strange, too. I didn't know it was a script file until I grepped for the error message and saw a script response. I had just assumed that a .exe was a compiled program of some sort.
I finally revisited using wpa_supplicant on my system. It's a lot easier now that I've done this stuff a few times. I think my original problem was in getting a working wpa_supplicant.conf file created. This works better. Note, this will overwrite any existing wpa_supplicant.conf
[B]Thanks for the suggestion Qboy-
---------------------------------
QUESTION: I've just installed the wpa_supplicant and the the file is /etc/wpa_supplicant.conf but it shows a change in the file as /etc/wpa_supplicant.conf.rpmnew which one should I use??
_______________________________________________________________
Do you really have 4 access points (routers) that you want to connect to? Use the "wpa_passphrase" command that I posted above. If you like, send it to a different file and run wpa_supplicant with the "-c" pointing to that other file. Here is a config I just generated for a pretend AP, along with the command I actually used to generate it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.