Jump to content

cable @ access / MDk10 C / conf ?


Guest charlus
 Share

Recommended Posts

Guest charlus

Hey,

 

I've been enjoying open source software on Window$ for quiet a while, so here I am on mandrake....

 

I setup mandrake community on my Dell laptop.

 

The setup was fine. My network card seems to be ok ( cf the verbose during start of the system).

 

My internet connexion is a LAN (cable internet from chinese provider) access. So I have no password or login. Just some IP , subnet, gateway and dns server to fill in. My connection is running really well on window$....

 

I tried to fill the same information under linux but .... No web access.... But It seems that I am connected to the network but not internet ( cf. drakconf graphical which shows some small network activity but tell me i am not connected the internet)......

 

After reading quiet a lot of posts on the subject here are my details, I hope it will help you to help me. ( I have painfull permanent switch between linux and Micros to be able to send you the data of my problem....)

 

here we are

 

 

[root@10 charlus]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:20:E0:6B:33:A9

inet addr:10.79.1.92 Bcast:10.79.255.255 Mask:255.255.0.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:146 errors:0 dropped:0 overruns:0 frame:0

TX packets:7 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:17207 (16.8 Kb) TX bytes:294 (294.0 B)

Interrupt:11 Base address:0xf000

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:70 errors:0 dropped:0 overruns:0 frame:0

TX packets:70 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:4594 (4.4 Kb) TX bytes:4594 (4.4 Kb)

 

[root@10 charlus]#

 

 

 

/////////////////

hosts file

 

127.0.0.1 localhost

10.79.1.92 10.0.0.1 10

 

////

ifcfg-eth0

 

DEVICE=eth0

BOOTPROTO=static

IPADDR=10.79.1.92

NETMASK=255.255.0.0

NETWORK=10.79.0.0

BROADCAST=10.79.255.255

ONBOOT=yes

HWADDR=00:20:e0:6b:33:a9

MII_NOT_SUPPORTED=no

 

////////////////

 

ifcfg-lo

 

 

DEVICE=lo

IPADDR=127.0.0.1

NETMASK=255.0.0.0

NETWORK=127.0.0.0

# If you're having problems with gated making 127.0.0.0/8 a martian,

# you can change this to something else (255.255.255.255, for example)

BROADCAST=127.255.255.255

ONBOOT=yes

NAME=loopback

 

 

 

why I do not have the same information of ifcfg-lo and ifcfg-eth0 ?

 

To be honest i am lost with all those info. I have some picture of my screen I may exchange by email if it can help.

 

Please also let me know which info you may need to rescue and how to get them.

 

 

I appreciate the time you will offer and be sure I will post on the forum as soon as my linux knowledge will be strong enough.

 

Have a nice day

 

here is a screen capture which may help. What is this 0.0.1 in the search field ( cf. capture) ?

post-14-1089536516.jpg

Edited by charlus
Link to comment
Share on other sites

Hello charlus - welcome to Mandrake!

 

Your /etc/hosts file is incorrect - the line saying 10.79.1.92 10.0.0.1 10 should read

10.79.1.92 charlus

if charlus is the name you want for your computer - you can put any name here.

 

The 0.0.1 in the search field will have been taken from your /etc/resolv.conf file - it has grabbed the last part of what it thinks is your hostname (10.0.0.1 - should be charlus or something - check in Windows for what you called it there) and is using that . Just delete the line "search 0.0.1" from the file. You should also have a line that starts nameserver. this should have the IP address of your ISPs nameserver, e.g. "nameserver 10.0.0.1" The address may be different - get it from Windows/your ISP.

 

You will probably have to change the /etc/sysconfig/network file too - change the line that (probably) says HOSTNAME=10.0.0.1 to HOSTNAME=charlus. Also make sure the GATEWAY= is set to your ISPs default gateway (10.0.0.1?) and possibly GATEWAYDEV=eth0.

 

Restart the computer

 

Typing hostname should then give you charlus or whatever you called it.

 

ifcfg-eth0 and ifcfg-lo should be different, and they both look OK.

 

There is a howto that may help here: http://web.onetel.net.uk/~showerail/simple_net_setup.html or you can reach it from the sticky post at the top of the networking forum.

 

Let us know how you get on

 

Chris

Edited by streeter
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...