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.
So I have searched and searched and think that I have tried virtually everything. If someone can help me and tell me what/if I am doing something wrong that would be great.
I am new to linux for the most part. When I installed debian last time I wanted to run linux it automatically connected to the internet, no problem. This was also before I had a router.
So here are the details:
I have a linksys router (WRT54G) With the latest firmware update
I have the cat5 cable going from my pc to slot 2 on router. The internal network IP is 192.168.1.101 when I am windows
When I use regular dhcp, it doesn't allow me to connect to router or internet.
When I set a static IP, no matter what it is 192.168.1."x" it allows me to connect to router but not to internet.
My question is, where am I going wrong and what can I do to fix the issue so I can begin my process of learning SuSE.
you need to add dns servers to your /etc/resolv.conf
nameserver 192.168.1.1
should do the trick. if it doesnt, check your router for the dns servers and input them in the resolv.conf file.
Your first step is to ensure that DHCP server is enabled on your router and that Dnsmasq is enabled (this allows the router to forward the Domain Name Servers to the Linux Box. Suse is fairly good at doing this.
If you have a static IP (meaning that your ISP has assigned you an IP address that does not change) you will need to set up the router to use the IP and DNS specified. You can still use DHCP so that any computers connecting to the router do not have to have a static IP themselves. The only thing using static in this circumstance is the router.
If you have a dynamic IP, then you can have the router connect via DHCP as well as your client computers. DHCP server needs to be enabled on the router as well as DNSmasq.
If this router is wireless, you need to change the settings using a hardwired computer (cat5 to port2 will do).
In a web browser type 192.168.1.1 to access the HTML admin screen. If you have changed the default password use that. If you have never changed the default it will be "admin". Make your changes, save them, power down the router and modem.
In YaST go to network devices. Set up your connection via DHCP using Knetwork Manager.
It is easier for you to reboot at this point since you will have to shut down and restart many services and SuSE is very unpredictable when connecting after runlevel 5.
What is your firmware version? You may need to update.
Good Luck!
PS.- CAUTION CAUTION CAUTION
Never flash (install new firmware) your router using a Wireless connection. You will turn your router into a brick (as in a useless piece of junk)!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.