LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-29-2004, 07:45 AM   #1
thephotoman
LQ Newbie
 
Registered: Sep 2004
Distribution: Knoppix 3.6 as Debian Sid, Fedora Core 1
Posts: 11

Rep: Reputation: 0
Configuring the startup process


I've got a small problem. I want my wireless card to come up at startup, and I want it to use DHCP to get an IP address at startup, instead of having to do that once I'm logged in. How do I go about doing this?
 
Old 09-29-2004, 12:38 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You can get your card up at startup by making your /etc/network/interfaces to look like this:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
And maybe you'll also need to make /etc/resolv.conf to look like this:
Code:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
But in this thread http://www.linuxquestions.org/questi...hreadid=234997 comp12345 suggests that you'll also need to have "wireless-tools" package installed before you can actually get your wireless connection working. Once you are connected, you can do "apt-cache search wireless" to see what other utilities there are for wireless cards.
 
Old 09-29-2004, 12:47 PM   #3
thephotoman
LQ Newbie
 
Registered: Sep 2004
Distribution: Knoppix 3.6 as Debian Sid, Fedora Core 1
Posts: 11

Original Poster
Rep: Reputation: 0
Many thanks! I found the problem: it wasn't checking for DHCP because the config had been set to static. When I set it up, I was nowhere near a wireless network.

The problem wasn't that the wireless card wasn't working, it was just that I was manually having to request DHCP information. As I'm using the same protocols when I'm logged in, it worked perfectly.

Now, could you tell me how to load an xmodmap file automatically?

Last edited by thephotoman; 09-29-2004 at 12:52 PM.
 
Old 09-29-2004, 01:27 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Here's one thread that discusses xmodmap:

http://www.linuxquestions.org/questi...hreadid=222543

If editing ~/.bash_profile doesn't work, you can try adding the xmodmap lines to your xinit file (~/.xinitrc or ~/.xsession).
 
Old 10-01-2004, 09:48 PM   #5
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 157

Rep: Reputation: 16
what are you on

are you running a sony vaio? how old is it?
 
Old 10-01-2004, 10:20 PM   #6
thephotoman
LQ Newbie
 
Registered: Sep 2004
Distribution: Knoppix 3.6 as Debian Sid, Fedora Core 1
Posts: 11

Original Poster
Rep: Reputation: 0
It's about 3 and a half years old. Sometimes things get sluggish, but it usually works well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Stop Startup Process easyE Linux - General 2 05-03-2005 05:37 PM
Killing a process on startup...... har5ha Linux - Software 3 07-24-2004 12:52 PM
startup process thongor Slackware 2 03-21-2004 10:23 AM
INFO: configuring monit (process monitoring) markus1982 Linux - Software 0 05-25-2003 05:39 AM
running a process at startup jmu Linux - Newbie 5 02-11-2003 05:52 PM

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

All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration