LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-14-2004, 08:01 PM   #1
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Rep: Reputation: 15
Laptop hangs when starting dhclient on FreeBSD 5.2


Hello all,

I've been having a problem with the 5.x series of FreeBSD on my two work laptops. The laptops in question are both IBM Thinkpads, one is a T23 and the other is a T30. They both have identical NIC's, Intel EtherExpress Pro/100B PCI Fast Ethernet card. During the install, both fail to configure dhcp properly. The latest release, 5.2, does actually complete the dhcp configuration during install, it just takes about 5 minutes (literally). When I finish the install and restart the machine, it times out when starting dhclient and will then finish booting into Gnome. However, when I finally get into the window manager, networking does not work. Both laptops fail to configure and IP. This is all very confusing to me because versions 4.8 and 4.9 both worked fine on both laptops. I just wanted to run 5.x for the 32-bit cardbus support.

I've tried to find a resolution to this problem by researching the web and reading the FreeBSD Handbook. Unfortunately, I have had no luck whatsoever. How would I get dhclient to start and grab an IP at bootup? Thanks for any help you can give.
 
Old 01-16-2004, 01:44 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
Have you tried manually configuring the cards?

# ifconfig fxp0 192.168.0.2 netmask 255.255.255.0

?
 
Old 01-16-2004, 06:38 PM   #3
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the reply, chort. I had tried that on both laptops and I still get the 'fxp0: device timeout' error message.

Thanks.
 
Old 01-17-2004, 08:19 AM   #4
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
Try entering the command line after booting. (Press '6' when being asked how to boot). Then enter following command:

Code:
set hw.pci.allow_unsupported_io_range=1
That works for me.

But install first the whole system, and start the dhcp after the first reboot with /stand/sysinstall. (here you ave to use the set hw..... command).

That's what works for me on a Thinkpad.

If all works then put a

Code:
hw.pci.allow_unsupported_io_range=1
in your /boot/loader.conf.

I hope it works for you too.
 
Old 01-18-2004, 11:21 AM   #5
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the help! I'll give that a try.

 
Old 01-18-2004, 03:54 PM   #6
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by guest
Try entering the command line after booting. (Press '6' when being asked how to boot). Then enter following command:

Code:
set hw.pci.allow_unsupported_io_range=1
That works for me.

But install first the whole system, and start the dhcp after the first reboot with /stand/sysinstall. (here you ave to use the set hw..... command).

That's what works for me on a Thinkpad.

If all works then put a

Code:
hw.pci.allow_unsupported_io_range=1
in your /boot/loader.conf.

I hope it works for you too.

Thank you VERY, VERY much!!! That fixed it!

I've been trying to resolve this issue since RC1 of 5.0.

 
  


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
how to stop dhclient from starting automatically? kpachopoulos Linux - General 1 09-18-2005 08:38 AM
New FreeBSD 5.4 install hangs at.... halo14 *BSD 2 06-22-2005 05:41 PM
Added new NIC, now FreeBSD hangs Gsee *BSD 3 10-18-2004 09:17 PM
dhclient starting automatically pmcdaid Linux - Networking 1 06-19-2004 02:29 PM
laptop hangs after starting pcmcia redhat 9 ca123 Linux - Laptop and Netbook 4 05-22-2004 04:00 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration