LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-03-2005, 02:01 PM   #1
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Rep: Reputation: 15
Sarge 2.6 Boot-up configuration


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:

iwconfig wlan0 channel 8
iwconfig wlan0 essid NETGEAR
dhclient wlan0

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?

Thank you in advance
RK
 
Old 04-03-2005, 08:11 PM   #2
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Original Poster
Rep: Reputation: 15
Anyone?
 
Old 04-04-2005, 08:07 AM   #3
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Original Poster
Rep: Reputation: 15
I found it!!!!

Yee-haw

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.

Thanks,
RK
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After Base Install Configuration for Sarge AndeAnderson Debian 2 04-08-2005 11:14 AM
Debian Sarge Wired & Wireless Network configuration yoonsangkyun Linux - Wireless Networking 2 03-28-2005 07:59 PM
X86 configuration with sarge pirozzi Debian 3 03-24-2005 03:55 PM
debian sarge apache-ssl configuration notolerance Debian 0 01-10-2005 10:44 AM
Manual sound configuration on Debian Sarge vharishankar Debian 8 12-23-2004 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration