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.
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Rep:
How to set static IP in Suse 10
I need to set a static IP in Suse 10 and am having a bit of trouble. I set the IP in Yast but I then lose that abiltity to go online. I go to Yast > Network devices > network card. I edit the card and give it a static IP and that works fine. I then go to 'Host Name and Name Server' and add the DNS info (151.196.0.38, AND .39) that I get from the router and add it to 'Name Server' 1 and 2. What should I put in the 'Name Search' 1 and 2 boxes?
Whatever I am doing I am doing wrong as I can not go online once I am done. I know that the info is right as I have a WinXP machine set up with a static IP and that one works fine. Thanks.
Name search is the name of the domain your nameservers are on: xxxxxxxx.com. If, and I assume you are by what you've supplied, you are going to the internet through a router, you give the 'route' the router uses to connect to the outside world: 192.168.3.1 or some such.
You can always add your DNS the old fashioned way:
Code:
route add default gw 192.168.0.1
Of course to execute the command you need to be logged in as root. Just substitute whatever gateway you want to add for the 192.168.0.1 (I chose it because it's my router)
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
So under 'Name Server 1' and 'Name Server 2' I would put 151.196.0.38 and 151.196.0.39 which I got from the router (primary and secondary DNS).
As far as 'Domain Search 1' and 'Domain Search 2' I need the name of the domain that my nameservers are on, this part has me a bit lost. I am using Verizon DSL and you use the form xxxxxxxxxx.com. Can I assume that that would be verizon.net? I am not sure how to handle that part.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.