DebianThis forum is for the discussion of Debian Linux.
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 am having a problem with my wireless card. I know that there is a wireless networking forum, but the problem is with the boot-up process.
When my system boots, it does not properly set up the card before trying to get an IP address via DHCP. Once I boot, I can open up a root console and type:
and everything is fine network-wise. Then I have t o manually mount my server's shares, and restart the apps that count on them. How do I have the system do this for me before X loads? I notice the scripts aren't exactly like a DOS batch file. What is that? Python?
I found the configuration file that was messing me up.
I downloaded all my scripts to my laptop at work (it's a slow day) and was reading the scripts through and I found a reference to scripts I hadn't noticed before. While I was looking for one of the scripts, I ran across a config file I had manually edited.
I had removed an ethernet card after I was done with installation. I wanted to remove the error during bootup and found /etc/network/interfaces. I commented out the lines of the ethernet and tweaked the wireless. Unfortunately, this is where I messed up. It was my boo-boo. When I saw it, I smacked myself in the forehead for not paying attention.
I edited the file here at work, uploaded to my PC and sent it a reboot command. I waited a bit and was able to connect which means that, since I wasn't there, it connected on it's own.
In case someone else runs into this, this is my new /etc/network/interfaces file (which works):
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0
#iface eth0 inet dhcp
#name Ethernet LAN card
auto wlan0
iface wlan0 inet dhcp
name Wireless LAN card
wireless_essid NETGEAR
Take note of the last line. The old version had an essid of 'mshome' which is my workgroup, not my essid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.