Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Static IP for wireless usb card on startup

Reply  
Thread Tools
Regicide's Avatar
Member with 308 posts.
 
Join Date: Aug 2003
Experience: Advanced
04-May-2004, 01:21 PM #1
Static IP for wireless usb card on startup
I'm running Slackware 9.0. I have a Netgear MA101 (Version A). I've got the drivers working, it works fine. I edited the /etc/.vnetrc file to the right configuration of my router, and I uncommented "post-install usbvnet /bin/fastvnet.sh" in the /etc/modules.conf file. I want to have a static IP address. On startup, the adapter starts up just fine, just I have to set an ip with if config and setup a default gateway(route add gw). Isn't there a file I can edit that will execute a few command lines at startup? I need to execute:
Code:
ifconfig eth1 192.168.0.9
route add default gw 192.168.0.1
__________________
When you give everything and the feeling is gone
All the giving is fake, did you fake enough?
When there's nothing left, did you take enough?
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
05-May-2004, 06:12 AM #2
Quote:
Isn't there a file I can edit that will execute a few command lines at startup?
Look for /etc/rc.d/rc.local or boot.local. You can add those commands there.
HTH
lynch
Regicide's Avatar
Member with 308 posts.
 
Join Date: Aug 2003
Experience: Advanced
05-May-2004, 04:57 PM #3
Thanks, worked like a charm!!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:59 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.