LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-30-2011, 12:55 PM   #1
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Rep: Reputation: 19
Question Wheezy netinstall can't configure DHCP


Hello,

I am reinstalling my Debian system with the Wheezy netinstall image on a USB drive.

I have a wireless router that also comes with ethernet ports, so I could either connect to my LAN via wifi OR ethernet.

The installer was able to detect my wireless (wlan0) and wired (eth0) interfaces, but one of the following always happens:

(1) If I try network autoconfiguration for eth0, the process would always fail at the DHCP autoconfigure step (i.e. can't get IP address?). Please note that this works on the machine right before the re-install I am attempting.

(2) If I try network autoconfiguration for wlan0, it successfully authenticates with my wifi network via WPA2, and configures DHCP successfully. However, I get an error saying there is no "default route" setup. What does "default route" mean?

I have tried to cancel/delete all DHCP leases and restarting my router to no avail. I also tried getting into the shell (which is ash) but there's no ifconfig etc. that I could access.

Can anyone help with troubleshooting this problem? Thanks.
 
Old 11-30-2011, 09:02 PM   #2
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
You may need some drive that isn't supplied with Debian but you didn't say it asked for a driver first.

Anyways you should be able to give it a static IP and then switch it over to dhcp after the install.
 
Old 12-01-2011, 12:56 PM   #3
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Squueze installer works

OK, so after lots of attempts, including trying to use a static IP, I gave up and switched to the Squeeze installer.

The Squeeze installer configured DHCP fine!

Looks like this is an issue with the daily Wheezy net install images?
 
Old 12-01-2011, 05:10 PM   #4
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
I've been using the business card installer that was build on Nov 23 2011. Nice thing about the business card is you can install Stable, Testing and Unstable with it. It's worked on a couple different computers so far but have gotten ones that will not work for various reasons. Testing is Testing after all.
 
1 members found this post helpful.
Old 12-02-2011, 09:03 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I've always used Debian testing, currently Wheezy. I did a reinstallation on my desktop that was shelved for eight or so months and used the 200+ MB net install CD image off USB. It did the same, it could not configure eth0. So I did the base installation from what it could do off that CD image, rebooted after it finished into command line (as there was no desktop environment) and continued on from there. I always choose this route anyway as Debian's default desktop is Gnome but I prefer KDE.
Anyway, possibly due to not having necessary networking packages in the net install ISO, it did not load the driver for the NIC automatically. A quick command: lspci showed this for the NIC: Ethernet controller: Broadcom Corporation NetXtreme BCM5751. A quick Google search on another computer suggested it uses tg3 driver. Another command: modprobe tg3 loaded the proper driver, then the command: dhclient eth0 got it connected. After slapping in my favorite sources.list, I updated and continued the installation from command line as I usually do.

Although I don't remember where in the Debian installer process, there is the option to go to command line when things are not going well, it is here you can figure out what NIC you have, and at some point down the line if not at this point, you can apply the driver and bring it up with the dhclient command and continue the installation.
 
1 members found this post helpful.
Old 12-05-2011, 01:32 PM   #6
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
It finally worked. The netinstall image from a couple days ago was able to obtain dynamic IP from my router via DHCP, hopefully it will stay functional for future builds...
 
  


Reply

Tags
dhcp, installer, wheezy



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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
dhcp configure help salahuddin_66 Debian 3 11-01-2005 06:54 AM
Help to configure dhcp vijeesh_ep Linux - Networking 1 12-15-2004 05:24 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:04 PM.

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