Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-28 Thread Dan Farrell
On Sat, 24 Mar 2007 22:22:29 -0400
rob [EMAIL PROTECTED] wrote:

 ...But I don't know how to tell your card to switch
 to 100 Mps on Gentoo. 
'ethtool' is a program that can do so.  

 -- Dan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-24 Thread rob
On Wednesday 14 March 2007 12:02, Uwe Thiem wrote:
 On 14 March 2007, Alan McKinnon wrote:
  Hi all,
 
  Why am I always the one to get the wierd hardware issues? Here's my
  latest. The powers that be at work made me move my desk, and dhcpcd on
  *this* laptop doesn't work at *this* network point, or any of the other
  four in this row of desks, althought hey work OK on Windows. It's most
  certainly a cabling issue, I can go to the server room and plug a
  flylead into the *same*port* on the switch and it all works right. A
  static ip isn't an easy option as I move between different networks and
  don't want to have to keep editing resolv.conf. I'm not allowed to do
  my first reaction, which is to swap my outlet with a working one...
 
  tcpdump shows me this when I insert the network cable:
  16:11:06.855229 IP 0.0.0.0.bootpc  255.255.255.255.bootps: BOOTP/DHCP,
  Request [|bootp]
  repeated 6 more times then it times out
 
  With a static ip, I do get full bandwidth, error free, just like it
  should be. So whatever this cabling issue is, it affects only bootp...
 
  hardware: Dell Latitude D810:
  NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
  Gigabit Ethernet PCI Express (rev 01)
Gigabit Ethernet is liminted to 25 meters for full speed. It sounds like you 
are to far from swich. Force the card to do 100mps this should do it. Also if 
your building is old enough the wire is probly CAT5 100 Mps(300 meters) 
raited CAT6 is needed for 1000mps. But the 25 meter limitation is still there 
with CAT6 cable. The CAT 5 will give you less than the rated distance for 
1000 Mps. I beleve that the (gag) windows box is forcing the card to connect 
at a lower speed during DHCP request. On windows ( without software) You 
realy can't test network speed. But I don't know how to tell your card to 
switch to 100 Mps on Gentoo. 

Rob
Intel Network Certified  Engineer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-21 Thread Uwe Thiem
On 20 March 2007, Mick wrote:
 On Wednesday 14 March 2007 16:02, Uwe Thiem wrote:
  On 14 March 2007, Alan McKinnon wrote:
   With a static ip, I do get full bandwidth, error free, just like it
   should be. So whatever this cabling issue is, it affects only bootp...
  
   hardware: Dell Latitude D810:
   NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme
   BCM5751 Gigabit Ethernet PCI Express (rev 01)
 
  Have you tried to force your NIC down to 100Mb/s early in the boot
  process? Assuming your network is FastEthernet, autonegotiation doesn't
  always work properly.

 How would you do that - can you please elaborate?

man ethtool

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-21 Thread Mick
On Wednesday 21 March 2007 10:46, Uwe Thiem wrote:
 On 20 March 2007, Mick wrote:
  On Wednesday 14 March 2007 16:02, Uwe Thiem wrote:
   On 14 March 2007, Alan McKinnon wrote:
With a static ip, I do get full bandwidth, error free, just like it
should be. So whatever this cabling issue is, it affects only
bootp...
   
hardware: Dell Latitude D810:
NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme
BCM5751 Gigabit Ethernet PCI Express (rev 01)
  
   Have you tried to force your NIC down to 100Mb/s early in the boot
   process? Assuming your network is FastEthernet, autonegotiation doesn't
   always work properly.
 
  How would you do that - can you please elaborate?

 man ethtool

Thanks Uwe,

Do you put this in your /etc/conf.d/net, or modify the /etc/init.d/net.lo?
-- 
Regards,
Mick


pgpLOKKZqx544.pgp
Description: PGP signature


Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-21 Thread Uwe Thiem
On 21 March 2007, Mick wrote:
 On Wednesday 21 March 2007 10:46, Uwe Thiem wrote:
  On 20 March 2007, Mick wrote:
   On Wednesday 14 March 2007 16:02, Uwe Thiem wrote:

Have you tried to force your NIC down to 100Mb/s early in the boot
process? Assuming your network is FastEthernet, autonegotiation
doesn't always work properly.
  
   How would you do that - can you please elaborate?
 
  man ethtool

 Thanks Uwe,

 Do you put this in your /etc/conf.d/net, or modify the /etc/init.d/net.lo?

Well, I try to avoid modifying any of the scripts in /etc/init.d if possible 
at all. So /etc/conf.d/net seems the right place. In your particular case, it 
must bedone before dhcpcd comes up. That is the important prt. If it helps at 
all. ;-)

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-21 Thread Dan Farrell
On Wed, 21 Mar 2007 13:54:00 +0200
Uwe Thiem [EMAIL PROTECTED] wrote:

 On 21 March 2007, Mick wrote:
  On Wednesday 21 March 2007 10:46, Uwe Thiem wrote:
   On 20 March 2007, Mick wrote:
On Wednesday 14 March 2007 16:02, Uwe Thiem wrote:
 
 Have you tried to force your NIC down to 100Mb/s early in the
 boot process? Assuming your network is FastEthernet,
 autonegotiation doesn't always work properly.
   
How would you do that - can you please elaborate?
  
   man ethtool
 
  Thanks Uwe,
 
  Do you put this in your /etc/conf.d/net, or modify
  the /etc/init.d/net.lo?
 
 Well, I try to avoid modifying any of the scripts in /etc/init.d if
 possible at all. So /etc/conf.d/net seems the right place. In your
 particular case, it must bedone before dhcpcd comes up. That is the
 important prt. If it helps at all. ;-)
 
 Uwe
 
Check /etc/conf.d/net.example, the 'preup' section might be just such a
place for such an operation.

  -Dan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-20 Thread Mick
On Wednesday 14 March 2007 16:02, Uwe Thiem wrote:
 On 14 March 2007, Alan McKinnon wrote:

  With a static ip, I do get full bandwidth, error free, just like it
  should be. So whatever this cabling issue is, it affects only bootp...
 
  hardware: Dell Latitude D810:
  NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
  Gigabit Ethernet PCI Express (rev 01)

 Have you tried to force your NIC down to 100Mb/s early in the boot process?
 Assuming your network is FastEthernet, autonegotiation doesn't always work
 properly.

How would you do that - can you please elaborate?
-- 
Regards,
Mick


pgpMMWEfEpCiR.pgp
Description: PGP signature


Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-16 Thread Alan McKinnon
On Thursday 15 March 2007, Patrice Bouvard wrote:
 Le Wed, 14 Mar 2007 16:57:04 +0200,

 Alan McKinnon [EMAIL PROTECTED] a écrit :
  don't want to have to keep editing resolv.conf

 Then, don't edit it every time you change network. Just keep it with
 a lot of entries. If one doesn't work, the next one will be used.
 Name resolution could be a little bit slow with a lot of entries and
 only the last one working.

 Is there any problem to this kind of configuration ?

Yes, the resolver will only ever use the first three name servers and 
will give up if they all fail, regardless of how many entries are in 
the file.

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Etaoin Shrdlu
On Wednesday 14 March 2007 15:57, Alan McKinnon wrote:

 I would use google, if only I could think of a remotely meaningful
 search string :-) The hdcpcd docs and kernel module docs are not very
 enlightening. And the DHCP server is a Windows domain controller.

But do your DHCP requests show up in the server's logs (assuming windows 
is able to log that, which I don't know)?
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Nelson, David \(ED, PARD\)
 -Original Message-
 From: Alan McKinnon [mailto:[EMAIL PROTECTED]
 Sent: 14 March 2007 14:57
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] dhcpcd won't run at certain network points
 
 It's most 
 certainly a cabling issue, I can go to the server room and plug a 
 flylead into the *same*port* on the switch and it all works right. A 
 static ip isn't an easy option as I move between different 
 networks and 
 don't want to have to keep editing resolv.conf. I'm not allowed to do 
 my first reaction, which is to swap my outlet with a working one...
 
 tcpdump shows me this when I insert the network cable:
 16:11:06.855229 IP 0.0.0.0.bootpc  255.255.255.255.bootps: 
 BOOTP/DHCP, 
 Request [|bootp]
 repeated 6 more times then it times out
 
 With a static ip, I do get full bandwidth, error free, just like it 
 should be. So whatever this cabling issue is, it affects only bootp...
 


Have you checked dmesg for any errors - both when trying DHCP and when using a 
static IP?

Alternatively could you script something to try dhcp first and resort to static 
IP if that fails?

Do you have any network cable testing toys that you could use to check all the 
cabling?


--
djn

I do not represent anyone else in emails I send to this list.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Uwe Thiem
On 14 March 2007, Alan McKinnon wrote:
 Hi all,

 Why am I always the one to get the wierd hardware issues? Here's my
 latest. The powers that be at work made me move my desk, and dhcpcd on
 *this* laptop doesn't work at *this* network point, or any of the other
 four in this row of desks, althought hey work OK on Windows. It's most
 certainly a cabling issue, I can go to the server room and plug a
 flylead into the *same*port* on the switch and it all works right. A
 static ip isn't an easy option as I move between different networks and
 don't want to have to keep editing resolv.conf. I'm not allowed to do
 my first reaction, which is to swap my outlet with a working one...

 tcpdump shows me this when I insert the network cable:
 16:11:06.855229 IP 0.0.0.0.bootpc  255.255.255.255.bootps: BOOTP/DHCP,
 Request [|bootp]
 repeated 6 more times then it times out

 With a static ip, I do get full bandwidth, error free, just like it
 should be. So whatever this cabling issue is, it affects only bootp...

 hardware: Dell Latitude D810:
 NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
 Gigabit Ethernet PCI Express (rev 01)

Have you tried to force your NIC down to 100Mb/s early in the boot process? 
Assuming your network is FastEthernet, autonegotiation doesn't always work 
properly.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Alan McKinnon
On Wednesday 14 March 2007, Etaoin Shrdlu wrote:
 On Wednesday 14 March 2007 15:57, Alan McKinnon wrote:
  I would use google, if only I could think of a remotely meaningful
  search string :-) The hdcpcd docs and kernel module docs are not
  very enlightening. And the DHCP server is a Windows domain
  controller.

 But do your DHCP requests show up in the server's logs (assuming
 windows is able to log that, which I don't know)?

I don't have access to that server, but the dude who admins it does know 
I have this problem. Next time we meet, it's on my list of things to 
check. Thanks for the reminder.

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Patrice Bouvard
Le Wed, 14 Mar 2007 16:57:04 +0200,
Alan McKinnon [EMAIL PROTECTED] a écrit :


 don't want to have to keep editing resolv.conf

Then, don't edit it every time you change network. Just keep it with a lot of 
entries.
If one doesn't work, the next one will be used. Name resolution could be a 
little bit slow with a
lot of entries and only the last one working.

Is there any problem to this kind of configuration ? 

-- 
Cordialement,
Patrice BOUVARD, Networks  Systems Engineer
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Dan Farrell
On Thu, 15 Mar 2007 01:16:28 +0100
Patrice Bouvard [EMAIL PROTECTED] wrote:

 Le Wed, 14 Mar 2007 16:57:04 +0200,
 Alan McKinnon [EMAIL PROTECTED] a écrit :
 
 
  don't want to have to keep editing resolv.conf
 
 Then, don't edit it every time you change network. Just keep it with
 a lot of entries. If one doesn't work, the next one will be used.
 Name resolution could be a little bit slow with a lot of entries and
 only the last one working.
 
 Is there any problem to this kind of configuration ? 
 
Can you have more than one 'search' or 'domain' line maybe.  Or if you
don't need these lines.  Or maybe if you define LOCALDOMAIN.  
--
gentoo-user@gentoo.org mailing list