[Mandrake 10.1] No Internet

This is a discussion about [Mandrake 10.1] No Internet in the Linux Networking category; 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.

Linux Networking 361 This topic was started by , . Last reply by ,


data/avatar/default/avatar28.webp

3 Posts
Location -
Joined 2005-02-02
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
 

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Feb 2
Created
Feb 6
Last Response
0
Likes
2 minutes
Read Time
User User User
Users

Responses to this topic


data/avatar/default/avatar39.webp

336 Posts
Location -
Joined 2004-07-09
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!
 

data/avatar/default/avatar28.webp

3 Posts
Location -
Joined 2005-02-02
OP
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!
 

data/avatar/default/avatar39.webp

336 Posts
Location -
Joined 2004-07-09
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

data/avatar/default/avatar27.webp

22 Posts
Location -
Joined 2003-12-27
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?

data/avatar/default/avatar28.webp

3 Posts
Location -
Joined 2005-02-02
OP
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!