LinuxQuestions.org
Visit Jeremy's Blog.
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-15-2005, 08:54 AM   #1
mokojin
Member
 
Registered: Feb 2004
Location: Portugal
Distribution: OpenSUSE 10.2
Posts: 78

Rep: Reputation: 15
Unhappy debian dhcp


hi all

i have try to install debian for the fisrt time, but the thins arenīt going very well, i guess the woody packages and kernel are too old and my hardware is not supported, speacialy my network card, I need it to update the system, but when I make ifconfig -a only loopback shows.

My network card is an 10/100 from Intel, is those cards that came with centino's processor.

Any ideia?


BTW

i usually connect via DHCP,but i also canīt find dhcpcd
 
Old 05-15-2005, 09:51 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
You can install dhcpcd with the command "apt-get install dhcpcd". You can compile a new kernel and if you want newer software you can upgrade to sarge which is going to be stable soon anyway or to sid which is the unstable branch. You can upgrade with "apt-get dist-upgrade" if you add the proper lines to your /etc/apt/sources.list file.
 
Old 05-15-2005, 12:00 PM   #3
mokojin
Member
 
Registered: Feb 2004
Location: Portugal
Distribution: OpenSUSE 10.2
Posts: 78

Original Poster
Rep: Reputation: 15
well the problem is... without a kernel that suports my network card i canīt use apt, same for dhcpcd

is there a way to install other debian kernel and dhcpcd manualy?
 
Old 05-15-2005, 01:07 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: debian dhcp

Quote:
Originally posted by mokojin
hi all

i have try to install debian for the fisrt time, but the thins arenīt going very well, i guess the woody packages and kernel are too old and my hardware is not supported, speacialy my network card, I need it to update the system, but when I make ifconfig -a only loopback shows.

My network card is an 10/100 from Intel, is those cards that came with centino's processor.

Any ideia?


BTW

i usually connect via DHCP,but i also canīt find dhcpcd
Try as root modprobe e100 and see if the module loads, then still as root edit the file /etc/network/interfaces to look like this.

Code:
 # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0


iface eth0 inet dhcp
This will set you up for dhcp you do not need the dhcpcd running you need the package dhcp-client which is part of the base install so should be on your install which will get the required settings from your DHCP server that is on your network. Now once you have edited the file as root again /etc/init.d/networking restart to have the configuration file re-read and used this should get you a lease with an IP.
 
Old 05-17-2005, 01:34 PM   #5
pengy666
Member
 
Registered: Apr 2004
Location: somerset,england
Distribution: KATONIX !!!
Posts: 48

Rep: Reputation: 15
just jumping in here i hope no one minds

well i got a working network with ndiswrapper and every time i boot up i have to manually configure my wlan0 card to run dhcp and then asssign the essid ? is there any way i can get it to do this at startup ? i am running katonix (which is debian) and ndiswrapper 1.1?

any help will be appreciated

thanks robin

p.s I checked my /etc/network/interfaces and mine is identical to the little syntax you told mokojin to insert in interfaces and i have even told my wifimanager to run script /etc/sysconfig/network-scripts/ifcfg-wlan0 which i have set my essid and still no joy
 
Old 05-17-2005, 03:53 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
pengy666 check "man interfaces" for all wireless commands you can put in interfaces file. This is mine which only sets the essid but you can also set the wep key in it.

Quote:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
wireless-essid ****
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
To use dhcp change static to dhcp and leave out the address etc
 
  


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
DHCP Hostname in Debian 3.1 VinnySem Linux - Networking 7 07-25-2005 11:54 PM
Bridge and debian and DHCP catmaster Linux - Networking 2 06-11-2004 01:08 PM
Ed's Debian DHCP rdoctane Linux - Networking 1 03-09-2004 08:54 PM
Debian Router/DHCP retiqlum Linux - Networking 0 01-30-2004 01:42 PM
How do I turn off DHCP in Debian? t3kn0lu5t Linux - Networking 4 10-01-2003 10:15 PM

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

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