LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2002, 07:29 AM   #1
ferrantepunto
Member
 
Registered: Apr 2002
Distribution: Mandrake - Red Hat - SuSE
Posts: 57

Rep: Reputation: 15
Setting DHCP on a network card in text mode (no netconfig!)


Hi there,

I was wondering if anyone knows how to configure a network card to use DHCP in text mode. I've tried netconfig in Red Hat, but it is useless when the computer has more than one NIC.

Any ideas will be greatly appreciated.

Regards,
 
Old 12-11-2002, 07:44 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
netconfig -d eth0
netconfig -d eth1
netconfig -d eth2
netconfig -d eth0:1
netconfig -d eth0:2

if you really don't want netconfig, run this:

man ifconfig
 
Old 12-11-2002, 07:53 AM   #3
ferrantepunto
Member
 
Registered: Apr 2002
Distribution: Mandrake - Red Hat - SuSE
Posts: 57

Original Poster
Rep: Reputation: 15
Hi there,

Thanks for your suggestion. I forgot to mention that I've tried the netconfig -d eth0,1, etc. but when I change some parameters, and return to the prompt, I type ifconfig only to find that the parameters haven't changed at all.

I 've tried putting down the interface to change, netconfig, and then up, without success.

Am I missing something?

Cheers.
 
Old 12-11-2002, 07:58 AM   #4
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Try "pump" It's a little DHCP Client! If you dont have the command, install it as rpm.
 
  


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
setting date in text mode RHlinux9 Linux - Newbie 1 09-19-2003 03:14 PM
Setting text mode as default? Kage Linux - Software 1 05-15-2003 06:53 PM
Setting text mode Mohsen Programming 4 04-03-2003 11:46 PM
Setting up video in text mode to 50 lines Paulo Góes Linux - General 1 02-26-2003 09:01 AM
Setting Up Printers in Text Only Mode newlxjs Linux - Networking 0 11-19-2001 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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