SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sure; how to do it depends on the software / firmware of your specific router. On my Netgear MR814 there's a setting somewhere in the web menus to reserve specific ip addresses for specific macs (ethernet hardware addresses); I'm not at the box now so I can't tell you exactly which submenu it's under. I assume most routers can do this.
there is no option like that on my linksys wrt54g, but there is a way to do it on the computers end, i had it done in slackware, but i had to edit a specific file... i just dont remember which file...
...but there is a way to do it on the computers end, i had it done in slackware, but i had to edit a specific file... i just dont remember which file...
I did a "whereis rc.inet" and found some rc. files in /etc. I can't find an rc.inet on my 10.0 but did come across the following that might be helpful:
_____________________________
"cat /etc/rc.d.README"
Some people expect the system startup scripts in /etc/rc.d/. We use a slightly different structure for better LSB compliance. You can find the equivalent files in /etc/init.d/. The behavior of the scripts can be configured in the files below the directory /etc/sysconfig/.
For detailed information please have a look into the SuSE Linux manual. If you don't have a printed manual, you can find the electronic version in /docu on the first CDROM or in the package 'books.rpm'.
You may also want to read /etc/init.d/README for more information.
well, i still have the same problem, but i think im coming close to figuring it out... from what i see, it looks like in the /etc/sysconfig/network directory it will create a file according to your networks card mac address, for example, something like this ifcfg-eth-id-00:11:22:33:44:55 and the contents of this file looks like what you would do to config the network according ot the above post.
but i cant figure out how to change it to set the IP address, and it is not the exact format as shown in that other post... another thing i found was in yast->network devices->network card you can cofigure to a static IP, i havent tried it yet, but that may work.
***UPDATE***
ok, i figured out how to do it through yast.
1. yast->network devices->network card
2. click 'edit' on your specific card
3. change option to 'static ip' enter your wanted IP, and put '225.225.225.0' for subnet mask
4. click routing
5. enter '192.168.1.1' for default gateway
6. click 'ok' then click 'next' to save
this should work as long as your router is configured like linksys are... if your using a different type of router, or messed with the settings, youc an look at status to get the gateway, and subnet mask
***update***
nevermind, this did not work after i rebooted my computer. anyone know why?
Last edited by true_atlantis; 01-05-2006 at 08:53 PM.
I think while you are in the edit box for your card you have to click on Host Name and Name Server and then add your ISPs DNS server addresses in Name Server 1 and Name Server 2 and that will add those addresses into the /etc/resolv.conf file. That's what I have to do anyway, I'm pretty new to networking though, but it works for me.
Is there any comments in the /etc/resolv.conf file about a service that might be modifying the DNS information? After reboot did you check the /etc/resolv.conf file to make sure the DNS servers were listed in there correct?
Also, if you want to have a static IP address for all your machines on that router you can probably just turn off DHCP in the router control panel and then configure your network cards with yast like you did above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.