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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



GIGABYTE Z890M AORUS ELITE WIFI7 ICE INTEL MOTHERBOARD picture

GIGABYTE Z890M AORUS ELITE WIFI7 ICE INTEL MOTHERBOARD

$149.99



ASUS PRIME Z490-P LGA 1200 Intel Z490 SATA 6Gb/s ATX Intel Motherboard NEW picture

ASUS PRIME Z490-P LGA 1200 Intel Z490 SATA 6Gb/s ATX Intel Motherboard NEW

$121.45



ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard picture

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard

$76.49



ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI  ATX RGB picture

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB

$69.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



JINSHA B450M B450 AM4 MicroATX Motherboard DDR4 2DIMM M.2 W/ IO SHIELD picture

JINSHA B450M B450 AM4 MicroATX Motherboard DDR4 2DIMM M.2 W/ IO SHIELD

$53.99



ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX picture

ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX

$59.99



GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7 picture

GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7

$69.59