LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-30-2003, 04:13 PM   #1
bukowski
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 192.168.2.254

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...

thanks
 
Old 10-30-2003, 05:31 PM   #2
inode100
Member
 
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"

inode
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:04 AM.

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