Results 1 to 7 of 7

Thread: ifconfig or netcardconfig dhcp syntax

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    NY
    Posts
    10

    ifconfig or netcardconfig dhcp syntax

    Is it possible to invoke dhcp with an argument to ifconfig like:

    ifconfig eth0 dhcp

    or is it possible to have netcardconfig automatically invoke dhcp broadcast without promting for it?

    what I,m trying to do is append a couple of commands to knoppix.sh on my hard drive so that my network card will work.

    right now I have:

    modprobe 8139too
    netcardconfig

    Netcard config prompts for dhcp broadcast (yes). I want to just type

    knoppix myconfig=scan

    and have everything ready after initializations.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Try this:

    pump -i eth0

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    NY
    Posts
    10
    Does the trick, thanks

  4. #4
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    12
    Quote Originally Posted by aay
    Try this:

    pump -i eth0
    Wonderful! This is the exact same situation I am in, and was looking for a cure for.

  5. #5
    Member registered user
    Join Date
    Jul 2003
    Posts
    96
    Right now I'm using CAT5 into my internal nic on my laptop.

    If I want to take down dhcp, do I do the following?

    Code:
    pump -i eth0 ifdown
    I tried it and it did not work.

    thanks

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by JockVSJock
    Right now I'm using CAT5 into my internal nic on my laptop.

    If I want to take down dhcp, do I do the following?

    Code:
    pump -i eth0 ifdown
    I tried it and it did not work.

    thanks
    Try ifdown eth0.

  7. #7
    Member registered user
    Join Date
    Jul 2003
    Posts
    96
    Quote Originally Posted by Stephen
    [

    Try ifdown eth0.
    Tried that...didn't work

    See output below...

    Code:
    root@Probot:~# ifdown eth0
    ifdown: interface eth0 not configured

Similar Threads

  1. ifconfig says yes ping says no
    By masticate in forum Networking
    Replies: 0
    Last Post: 06-14-2005, 08:45 AM
  2. Configuring Syntax USB-400 wireless lan adapter
    By ramesh in forum Networking
    Replies: 4
    Last Post: 01-26-2005, 02:41 PM
  3. Replies: 1
    Last Post: 09-27-2004, 03:28 AM
  4. ipconfig = ifconfig, ok. /release = ???
    By xave in forum Networking
    Replies: 6
    Last Post: 05-19-2004, 07:47 AM
  5. Cheap code syntax
    By boehmb in forum General Support
    Replies: 3
    Last Post: 01-22-2003, 05:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health picture

M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health

$35.99



SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE picture

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE

$214.99



M2 2280 PCIe 4.0 solid-state drive high-speed storage device 1080P RO 2TB NGFF picture

M2 2280 PCIe 4.0 solid-state drive high-speed storage device 1080P RO 2TB NGFF

$99.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A picture

Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A

$41.99



Crucial MX500 500GB 2.5

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1

$59.99



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.80



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Samsung 850 EVO 250GB SATA III 2.5

Samsung 850 EVO 250GB SATA III 2.5" Internal SSD (MZ7LN250HMJP) dell Lenovo hp

$32.99



Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop picture

Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop

$36.39