LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-18-2005, 10:02 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Want to rerun the network probe from install script


I've installed Debian (internet install) a few times with no problems. But now I have a laptop that won't boot from the cd. Took it to a computer wizard friend, and he somehow got it to boot from the cd one time. That was enough to overwrite windows. So far, so good.

We didn't have an internet connection available, so I selected 'Configure Network Later' when that option came up. I'd like to run a command or script that does it just like the install program. That never seems to have any problems figuring out gateways, etc.

Running base-config doesn't work. It seems to just 'remember' that I don't have a network, rather than probing for one. Boot output doesn't seem to be looking for eth0. Looked thru syslog in the debian-installer directory, and it seems to suggest that the programs trying to find a network during install were 'discover' and 'netcfg.' But I can't seem to get them to do anything from my system prompt.

Answers welcome.
 
Old 05-19-2005, 07:18 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
AFAIK, Debian-Installer uses discover for detecting your netcard and dhcp-client for low-level dhcp configuration. You'll find some documentation for the low-level dhcp configuration under /usr/share/doc/dhcp-client (and some more with the command "man -k dhcp").

On the other hand, you could try a high-level dhcp configuration by editing your /etc/network/interfaces to look like this:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
iface eth0 inet dhcp
Then reboot to see if your netcard is detected and net connection successfully set up.
 
Old 05-19-2005, 09:57 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
The code section to edit the /interface file worked like magic ... Thanks a lot.
 
  


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
Slack 10.2 skipped network probe gamer119 Slackware - Installation 13 11-13-2005 04:47 PM
How to rerun network configuration script? pvv Debian 5 09-06-2005 02:12 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 09:34 AM
Redhat 9 install hung up at kernel boot up(usb probe failure) digizer0 Linux - General 0 05-25-2003 08:14 AM
firewall script run at boot -> no masq, rerun manually -> masq worx Griffon26 Linux - Networking 2 06-24-2002 03:17 AM

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

All times are GMT -5. The time now is 04:29 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