Jump to content

Can't connect to the internet with DHCP


Peter Chatterton
 Share

Recommended Posts

I was here 6 weeks ago, but can't find the thread;

the problem is the same.

 

This is a fresh install of Mandriva 2006 from Cheapbytes on DVD.

 

I configured the NIC thru the h/w section of the KDE Control

Center, supposedly successfully.

 

When I tried to connect to the internet in Monitor Connections,

it couldn't.

 

[root@sympatico ~]#ifconfig

eth0

Link encap: Ethernet

HWaddr: 0:2:55:8a:69:1d

<Q: shouldn't there be an inet @ here?>

inet6 addr: fe80::202:55ff:fe8a:691d/64

UP broadcast multicast mtu:1500 metric: 1

interrupt: 20

 

Under Manage Conn's in the control center:

 

TCP/IP

======

Protocol: DHCP

No IP

No netmask

No gateway

DNS: 199.43.182.6 & .5

Search domain: ca

 

DHCP

====

dhclient

Assign host name from dhcp @

dhcp host name: 199.43.182.6 & .5

(also tried sympatico.ca & blank)

Timeout: 5 secs

Get DNS servers from DHCP

 

INFO

====

Desc: EtherExpress PRO/100

Media class: N/W_ENET

Mod name: eepro100

MAC @: 0:02:55:8a:69:1d

Bus: PCI Loc: 1

 

 

lsmod:

=====

mii eepro100

 

Modprobe.conf

=============

alias eth0 eepro100

 

ifcfg-eth0

==========

DEVICE=eth0

BOOTPROTO=dhcp

IPADDR="no IP"

MII_NOT_SUPPORTED=no

TYPE=adsl

USERCTRL=yes

IPV6INIT=no

IPV6TO4INIT=no

PEERDNS=yes

DHCP_CLIENT=dhclient

 

I'm connecting the Linux, as with the XP, directly

to a SpeedStream 5200 ADSL modem.

I switched the modem off and on.

 

Here's some output from XP:

C:\WINDOWS\system32>ipconfig

 

Ethernet adapter Local Area Connection 6:

==========================================

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.168.0.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

 

Ethernet adapter Local Area Connection 3:

==========================================

Connection-specific DNS Suffix . :

Autoconfiguration IP Address. . . : 0.2.0.5

Subnet Mask . . . . . . . . . . . : 255.255.255.255

Default Gateway . . . . . . . . . :

 

PPP adapter Sympatico HSE:

==========================

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 65.92.71.217

Subnet Mask . . . . . . . . . . . : 255.255.255.255

Default Gateway . . . . . . . . . : 65.92.71.217

 

 

[moved from Installing Mandriva by spinynorman]

Link to comment
Share on other sites

Two files are of interest

/etc/modprobe.conf to load the driver for your nic on boot

/etc/sysconfig/network-scripts/ifcfg-eth0 to set up network parameters such as dhcp, load on boot, etc

 

 

my icfg-eth0 looks like this:

DEVICE=eth0

BOOTPROTO=dhcp

NETMASK=255.255.255.0

ONBOOT=yes

DHCP_HOSTNAME=XXX.XXX.X.XXX

MTU=1492

 

 

my resolv.conf looks like this:

search launchmodem.com

nameserver XXX.XXX.X.XXX

nameserver XXX.XXX.X.XXX

 

 

and here is what I see with the ifconfig command

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:50:BA:5B:C8:DD

inet addr:YYY.YYY.Y.YY Bcast:255.255.255.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:58034086 (55.3 Mb) TX bytes:5560829 (5.3 Mb)

Interrupt:10 Base address:0x6000

Edited by daniewicz
Link to comment
Share on other sites

To use Bell Sympatico I need a PPPoE package from http://www.roaringpenguin.com/en/penguin/o...roducts/rpPppoe

 

All the same, when I test the connection (thru Monitor Connections

in the Control Center), there is no LED activity on the NIC.

I'd try another slot except there's only one that's big enough

(it's an IBM P3 Netvista)

 

Thanks for reading this far,

Peter

Link to comment
Share on other sites

Well after reading your latest link I am admittedly in over my head...

 

You need the software RP-PPPoE. The easiest way to install software is not by downloads like the one you linked to. It will be easier to install a version of RP-PPPoE which has been specifically prepared for Mandriava 2006.

 

Have you set up repositories to use urpmi? I have done this on my Mandriva 2005 install, and indeed from the 2005 repositories there is a mandriva specific version of RP-PPPoE, ready for installation.

 

Take this route and I think you will be OK. Set up repositories to use urpmi for software installation.

Link to comment
Share on other sites

Set up repositories to use urpmi for software installation.

I think i did a full developer install so this should be there, right?

 

Will i be able to download RP-PPPoE via Windows (and xfer it with a flash drive)?

 

So should i get the following from http://rpms.mandrivaclub.com/rpms/mandriva...86/RByName.html

and copy them to the hard drive and install them with the Control Center?

rp-pppoe-3.8-1mdv2007.0 ADSL/PPPoE userspace driver linux/i586 
rp-pppoe-debug-3.8-1mdv2007.0 Debug information for package rp-pppoe linux/i586 
rp-pppoe-gui-3.8-1mdv2007.0 GUI front-end for rp-pppoe linux/i586 
rp-pppoe-plugin-3.8-1mdv2007.0 PPP over ethernet kernel-mode plugin linux/i586

Link to comment
Share on other sites

I think i did a full developer install so this should be there, right?

 

No, You need to set up software repositories to get access to all of the available software. The packages you list will be in the repositories as well as other packages (dependicies) that may be needed to get those packages to work correctly. That is the beauty of using urpmi, the dependices will be automatically taken care of when you install.

 

as root type mcc at the command line

now that you have a gui go to software management

you will need to configure the repositories first (see Easy-Urpmi at the top of this page)

Edited by daniewicz
Link to comment
Share on other sites

you will need to configure the repositories first (see Easy-Urpmi at the top of this page)

That seems to involved going on the internet and that's what I can't do right now.

 

I have 2006 Mandriva, which according to the release notes means I should be using Smart

http://wiki.mandriva.com/en/Releases/Mandriva/2006/Notes

But

The current state of smart in Mandriva is:

default channels are still pointing to cooker repositories at the time of this writing. The user has to change them to point to the official Mandriva 2006 repositories after installation;

smart is not the default update tool - urpmi is. But smart can handle urpmi repositories just fine;

 

I don't have a clue as to how to follow the first instruction.

 

In the Control Center it says that urpmi is a command line thing and i need the Reference Manual

which I can't find and suspect it didn't come with my distro -- any ideas?

 

So in the meantime I'm going on with the rpm which i'll download on XP and flash drive over.

Link to comment
Share on other sites

I don't have a clue as to how to follow the first instruction.

 

The gui menu items will undoubtedly be labeled a bit differently for you. On my Mandriva 2005 install:

 

mcc

Software Management

Select from where software packages are downloaded when updating the system

 

It is here that you enter the information defining the repository location.

 

So in the meantime I'm going on with the rpm which i'll download on XP and flash drive over.

 

This will work as long as your system already has all dependencies for these rpms currently installed. If you don't, then the install will not be successful. Again, this is the beauty of urpmi (which can be done completely under the gui), all dependency needs are automatically addressed.

Edited by daniewicz
Link to comment
Share on other sites

Guest scorp3000

All linuxes recognize DHCP connections automatically. It's the best option. I have a number of boxes all with linux. I built myself a home lan with a wireless router ( my wife uses a laptop ). I set the router to provide DHCP to the boxes. I've never had any problems connecting to any Linux this way. It happens automatically on installation. I have Ubuntu 7.04, Simply Mepis 6.5, Suse 10.2, LinuxMint, PCLinuxOS and Suse 10.3. They all work right out of the box with this connection.

Link to comment
Share on other sites

Thru the mcc package install (titled rpmdrake) I was given:

-- rp-pppoe-3.5-5mdk

-- libpcrp0-0.9.1-1mdk

-- ppp-2.4.3-9mdk

 

I created a new connection (ADSL & PPPoE) but it didn't really try

(the top led flickered for less than a second when i created it

and when i test the connection there's no activity at all).

I suspect the NIC is bad. I can't try another slot as the rest

are too small, but i do have another card.

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...