Linux - NewbieThis 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
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.
Just installed mandrake 10 and what seems to be something normal, my internet didn't work. I am on a college LAN and was wondering what would be some simple steps to take to getting connected. I know some of you will say I didn't use the search function and this is a common question, but I did and couldn't find any solid answers to my problem. I have two DNS numbers, but no host name, not sure if i need that. I also enabled the firewall and let it pass all of the options on the install. (checked all of the check boxes except the first one) Any suggestions of where to start.... thanks.
Do you have a static IP or use DHCP? Mandrake tries DHCP by default, but you have DNS numbers so it may mean you have a static IP. In such case run Mandrake Control Center. Inside there's a network configuration program.
There's undoubtedly some pretty GUI way of doing it, but the command line way is:
ifconfig eth0 <IP address> netmask <netmask>
and then, if necessary
route add default gw <your default gateway>
Add these commands to your rc.local file or modify your network config scripts (probably in /etc/sysconfig/network, but it varies by distro and I'm not familiar with Mandrake).
Add your DNS servers to /etc/resolv.conf (the format is one nameserver IP per line prefixed by "nameserver" e.g. "nameserver 1.2.3.4"). You should then be set.
go to /etc/resolv.conf and use wotever editor mandrake has and add your dns servers
eg cd /etc
gedit resolv.conf
nameserver xxx.xxx.xxx.xxx (dns 1)
nameserver xxx.xxx.xxx.xxx (dns 2)
(leave in the instance about search local domain)
your gateway is the ip address of the server u r connecting ur machine to
Netmask is not required. It'll probably work without it. It's harder with the default gateway...You should have it in the settings, with your IP address, DNS servers and so on. If you can't find it, ask admin or someone who may know.
In my version of Mandrake (9.2) you set up networking graphicaly using the tool 'drakconnect' (MDK Control Center->Internet and networking->DrakConnect). It may be changed a bit in ver 10, through.
Ok, i fixed it...I had the connection thing in the firewall set to +ppp rather than eth0 which was my network card for the lan. Everything else was already preconfigured like you guys said, thanks for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.