Jump to content
Compatible Support Forums
Sign in to follow this  
poochy

[Mandrake 10.1] No Internet

Recommended Posts

Hi, I'm new to Linux and I've a prob with my internet.

In Windows, everything goes fine.

In Mandrake, the icon in the systemtray states that I DO have a LAN-connection. I put, like in Windows, my IP to:

 

192.168.x.x (ip of machine)

255.255.255.0 (subnetmask)

192.168.x.x (router is default gateway)

 

But if I open Mozilla, I get an error:

 

Connection failed to www.google.com

 

 

Anyone... ??

 

THx

 

Share this post


Link to post

In Windows, do File->Run->"cmd" then "ipconfig /all"

and then write down the DNS/nameserver IP addresses for

the LAN interface.

 

Then, in linux, edit /etc/resolv.conf to add the lines

"nameserver 1.2.3.4

nameserver 1.2.3.5" (only use the two IP addrs collected from Windows)

 

after editing the file, you don't need to reboot.

Try again with Mozilla.

 

cheers!

 

Share this post


Link to post

Thx for the input.

 

I can locate the file without problems, but ....

 

In Windows, you can edit many filetypen by rightclicking and opening in Notepad.

In Mandrake, I want to edit the conf file, I dubbelclick and OpenOffice opens. I can't save the file back to the conf extention with OpenOffice. So I rightclicked and tried to open with Vi. I then get an error message (extention problem). I add .conf to the list, where also txt is added. But after that, I still have the same msg..

Does Mandrake have a special apps to edit such files? How on earth can I edit a .conf file?

ANd yes, I logged in as root-user.

 

thank you for your time and help!

 

Share this post


Link to post

how's this?

 

1) open Konsole terminal session

2) type "su" and give root password when asked

3) type "kedit /etc/resolv.conf"

4) Add/change the 'nameserver' lines

5) save the file

6) close Konsole terminal session

Share this post


Link to post

Hey,

you mentioned in your first post your gateway is your router.

If you connect through a router you should set it to DHCP I think.

Did Mandrake detect your NIC during the install?

Share this post


Link to post

Hi all, I solved it using the graphical Controlcenter of Mandrake 10.1, which is located next to the "Start button".

I didn't had to typ commands, I just had to fill in the gateway. I can access the net now using my linux.

thx for your help!

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×