Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-30-2003, 04:13 PM   #1
LQ Newbie
Registered: Oct 2003
Location: walled city
Distribution: slackware 9.1
Posts: 6

Rep: Reputation: 0
iwconfig, route at startup

i managed to get my wireless adapter working after searching through some threads here (thanks a bunch), but every time i start up now i have to open a shell and type

ifconfig eth0 up 192.168.2.whatever
route add default gw

is there a file somewhere i could put these commands in so it will automagically execute every time i start up? using suse 9.0, kde...

Old 10-30-2003, 05:31 PM   #2
Registered: Oct 2003
Location: London - England, UK
Posts: 63

Rep: Reputation: 15
hmmm, can't remember exact paths, (i'm on my ibook - shock horror, a mac user! well it is unix based!), but i think you maybe need to add this info to a config file under /etc/sysconfig/networking .. have a hunt round there..

also.. you could always just make a new start-up script

eg, /etc/init.d/mynetworkstartupscript. and sym link it from the /etc/rc3.d dir

and put the commands in there.. that way the commands will run at boot time.

dont forget to make the new file executable, chmod 755 "filename"



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
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 05:34 AM
Running iwconfig on startup colpliscol Linux - Networking 3 08-24-2004 08:26 PM
add route at startup phil1076 Linux - Networking 2 08-26-2003 02:42 PM
Working with 'route' and unwanted route entries pioniere Linux - Networking 6 02-05-2003 01:14 PM
Adding default route on startup? WeNdeL Linux - Newbie 2 01-08-2003 02:00 PM > Forums > Linux Forums > Linux - Newbie

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

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