LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-24-2004, 08:32 PM   #1
copter
LQ Newbie
 
Registered: Mar 2004
Distribution: suse 8.1
Posts: 15

Rep: Reputation: 0
dhcp problem in Debian netinst install..Help !! install.


Hi : just installed sarge netinst.iso and am unable to get DHCP working .
OK..dhcp client is installed..sources.list is ok
/etc/network/interfaces show this :

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

-------------
I did ifdown eth0

then ifup eth0
I get this :

PPP0 : unknown hardware address type 512
PP0 : unknown hardware address type 512

Listening on LPF/eth0/00:0c:6e:5d:05:40
sending on LPF/eth0/00:0c:6e:5d:05:40

dhcprequest on eth0 to 255.255.255.255 port 67
eth0:network connection up using port A
speed 100
autonegotiation:yes
duplex mode:full
flowctrl:none
irq moderation:disabled
scatter-gather:enabled

dhcprequest on eth0 to : 255.255.255.255 port 67
dhcpdiscover on eth0 to :255.255.255.255 port 67 interval 5
dhcpoffer from 192.168.1.1
dhcprequest on eth0 to:255.255.255.255 port 67
dhcpack from 192.168.1.1
bound to 192.168.1.2 - - renewal in 43200 seconds

------------------------
OK..If I do apt-get update I get
0%[connecting to mir2.ovh.act][connecting to ftp.rediris.com]
err http://mir2.ovh.act ...blablabla temporary failure resolving blablabla

--------------------
if I ping www.google.com I get

www.google.akadns.net(216.239.39.90) from 200.90.173.79
--------------------------------

OK..what I'm missing now??
Pliss help me...guess I'm pretty close to start apt-get the packages for this minimal netinst debian sarge install.

Thank you
 
Old 06-24-2004, 08:33 PM   #2
copter
LQ Newbie
 
Registered: Mar 2004
Distribution: suse 8.1
Posts: 15

Original Poster
Rep: Reputation: 0
dhcp problem in Debian netinst install..Help !! install.

Hi : just installed sarge netinst.iso and am unable to get DHCP working .
OK..dhcp client is installed..sources.list is ok
/etc/network/interfaces show this :

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

-------------
I did ifdown eth0

then ifup eth0
I get this :

PPP0 : unknown hardware address type 512
PP0 : unknown hardware address type 512

Listening on LPF/eth0/00:0c:6e:5d:05:40
sending on LPF/eth0/00:0c:6e:5d:05:40

dhcprequest on eth0 to 255.255.255.255 port 67
eth0:network connection up using port A
speed 100
autonegotiation:yes
duplex mode:full
flowctrl:none
irq moderation:disabled
scatter-gather:enabled

dhcprequest on eth0 to : 255.255.255.255 port 67
dhcpdiscover on eth0 to :255.255.255.255 port 67 interval 5
dhcpoffer from 192.168.1.1
dhcprequest on eth0 to:255.255.255.255 port 67
dhcpack from 192.168.1.1
bound to 192.168.1.2 - - renewal in 43200 seconds

------------------------
OK..If I do apt-get update I get
0%[connecting to mir2.ovh.act][connecting to ftp.rediris.com]
err http://mir2.ovh.act ...blablabla temporary failure resolving blablabla

--------------------
if I ping www.google.com I get

www.google.akadns.net(216.239.39.90) from 200.90.173.79
--------------------------------

OK..what I'm missing now??
Pliss help me...guess I'm pretty close to start apt-get the packages for this minimal netinst debian sarge install.

Thank you
 
Old 06-25-2004, 07:34 AM   #3
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
well seems like you are able to resolve DNS names and hence you do have some sort of internet connection.
check what /etc/resolv.conf says and try to put in there the values given by your ISP.
maybe that will help.I remember i had a problem with DHCP when i first installed debian but unfortunately i dont remember how i solved it(well for now atleast)..
can you output the results of ifconfig eth0 and also the full result you get from ping www.google.com
 
Old 06-25-2004, 09:54 AM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
if you still have problems do a minimum woody install and upgrade to sarge, then apt-get the rest of the software you need with latest kernel-source included.
 
Old 06-25-2004, 01:59 PM   #5
copter
LQ Newbie
 
Registered: Mar 2004
Distribution: suse 8.1
Posts: 15

Original Poster
Rep: Reputation: 0
Re: dhcp problem in Debian netinst install..Help !! install.

Quote:
Originally posted by copter
Hi : just installed sarge netinst.iso and am unable to get DHCP working .
OK..dhcp client is installed..sources.list is ok
/etc/network/interfaces show this :

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

-------------
I did ifdown eth0

then ifup eth0
I get this :

PPP0 : unknown hardware address type 512
PP0 : unknown hardware address type 512

Listening on LPF/eth0/00:0c:6e:5d:05:40
sending on LPF/eth0/00:0c:6e:5d:05:40

dhcprequest on eth0 to 255.255.255.255 port 67
eth0:network connection up using port A
speed 100
autonegotiation:yes
duplex mode:full
flowctrl:none
irq moderation:disabled
scatter-gather:enabled

dhcprequest on eth0 to : 255.255.255.255 port 67
dhcpdiscover on eth0 to :255.255.255.255 port 67 interval 5
dhcpoffer from 192.168.1.1
dhcprequest on eth0 to:255.255.255.255 port 67
dhcpack from 192.168.1.1
bound to 192.168.1.2 - - renewal in 43200 seconds

------------------------
OK..If I do apt-get update I get
0%[connecting to mir2.ovh.act][connecting to ftp.rediris.com]
err http://mir2.ovh.act ...blablabla temporary failure resolving blablabla

--------------------
if I ping www.google.com I get

www.google.akadns.net(216.239.39.90) from 200.90.173.79
--------------------------------

OK..what I'm missing now??
Pliss help me...guess I'm pretty close to start apt-get the packages for this minimal netinst debian sarge install.

Thank you
Hi...any ideas about this...what else can I test or reconfigure ...what others commands can I try to get more information on this issue ??

pliss help me with debian netinst

thank you
 
Old 06-25-2004, 02:39 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I am assuming a a broadband connection and you are trying the download via eth0. Just looking at the report it looks strange. It is giving an address of 255.255.255.255 which I doubt is the router address. I wonder if in fact it has configured your card. Check this first.
 
Old 06-25-2004, 10:22 PM   #7
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
"http://mir2.ovh.act"

Funny, that hostname can't exist, there is no .act TLD. Check your sources.list again. I suggest using
ftp.us.debian.org as the hostname (yes, this will work with http://)

(btw, dhcp looks correct. 255.255.255.255 is the universal broadcast, which is where DHCP requests go since we want the dhcp server to answer no matter where it is since we don't know its IP)
 
Old 06-26-2004, 05:49 PM   #8
copter
LQ Newbie
 
Registered: Mar 2004
Distribution: suse 8.1
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Qzukk
"http://mir2.ovh.act"

Funny, that hostname can't exist, there is no .act TLD. Check your sources.list again. I suggest using
ftp.us.debian.org as the hostname (yes, this will work with http://)

(btw, dhcp looks correct. 255.255.255.255 is the universal broadcast, which is where DHCP requests go since we want the dhcp server to answer no matter where it is since we don't know its IP)
Hi : thank you for your answers.. I did a route command with this debian sarge netinst installation and get this :

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.52.0.2 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

--------------------------
Now..I got a working suse 9.1 installation on another disk..and when I boot to this and do a route command it gives me this :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.52.0.2 * 255.255.255.255 UH 0 0 0 ppp0
default 10.52.0.2 0.0.0.0 UG 0 0 0 ppp0

--------------------------------------------------------------------
if I do an ifconfig with the debian sarge disk I get :
eth0 Link encap:Ethernet HWaddr 00:0C:6E:5D:B5:40
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:339 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23458 (22.9 KiB) TX bytes:10298 (10.0 KiB)
Interrupt:5 Memory:feafc000-0

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:200.90.173.55 P-t-P:10.52.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:211 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:9940 (9.7 KiB) TX bytes:97 (97.0 b)

---------------------------------------------------------------

If I do an ifconfig with the suse9.1 disk I get this :
eth0 Link encap:Ethernet HWaddr 00:0C:6E:5D:B5:40
inet6 addr: fe80::20c:6eff:fe5d:b540/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:431 errors:0 dropped:0 overruns:0 frame:0
TX packets:485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:198397 (193.7 Kb) TX bytes:74884 (73.1 Kb)
Interrupt:5

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3840 (3.7 Kb) TX bytes:3840 (3.7 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:200.90.173.199 P-t-P:10.52.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:395 errors:0 dropped:0 overruns:0 frame:0
TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:187543 (183.1 Kb) TX bytes:45802 (44.7 Kb)
----------------------------------------------------------
resolv.conf in the sarge and suse disks are the same :
domain local
nameserver 200.50.96.90
nameserver 200.54.144.227

-----------------------------------------------------

This is an arescom adsl router..and after the machine boots ..in both installation I can see the power lan and wan lights on..which means the nic is up and running...
If I do a ping www.google.com the sarge installation says unkown host
..so when I try to apt-get update or whatever..all I get are this erros tryng to access the servers in sources.list no matter which servers I configure there
--------------------------------
From all this...can you tell me what is wrong with this dhcp set up in this debian sarge ??
By the way..I tried to find dhcpcd client to no way...

thank you for your kind help

Copter

 
Old 06-26-2004, 10:57 PM   #9
nacha
Member
 
Registered: Jul 2003
Posts: 43

Rep: Reputation: 15
HI,

I had have the same problem and I don't found the solution. I decided to install Slack, leaving room for Sarge. But I read that there is a problenm with discover.
 
Old 06-27-2004, 03:07 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
copter;
The address 200.90.173.55 is your external address and 10.52.0.2 is the router address. The router is interfacing with the net via 200.90.173.55 so you need to set eth0 to look at the internal interface of 10.52.0.2
I have 2 network cards and my eth1 interfaces with the router and my /etc/network/interfaces looks like this;

auto eth1
iface eth1 inet static
address 10.0.0.10
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.2
 
Old 06-27-2004, 09:24 PM   #11
blindgren
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Rep: Reputation: 0
I agree with Qzukk. There is no .act domain. Try a ping to cisco.com and see if you get a reply. You are pulling an IP from DHCP. If you can't resolve cisco.com try editing /etc/resolv.conf and manully put in a name server IP to test with.
 
Old 06-30-2004, 01:14 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
copter, I have merged your 2 threads as they both contained valid responses. In future please do not double post.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with DHCP usign minimal install linuxmandrake Debian 1 09-09-2005 11:54 AM
DHCP doesn't seem to work on remote Debian install adrian11 Linux - Networking 0 07-05-2004 05:20 PM
after a clean deabian sarge netinst..what packages should I install first?? copter Debian 3 06-28-2004 11:12 AM
Debian install from netinst..what else need setup to download packages?? copter Debian 3 06-22-2004 09:53 PM
Debian install issues (dhcp) mattwtf Linux - Newbie 1 05-30-2003 02:07 PM


All times are GMT -5. The time now is 06:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration