Results 1 to 3 of 3

Thread: ifconfig problem in KNOPPIX 3.8.1

  1. #1
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    16

    ifconfig problem in KNOPPIX 3.8.1

    Hi All,

    I have a problem trying to set up my eth0 with ifconfig command as follows:

    ifconfig -a eth0 add xxx.xxx.xx.xxx netmask 255.255.255.0

    Coming back with error message "SIOCSIFNETMASK: Cannot assign requested address"

    If I try to set it up with command:

    ifconfig eth0 xxx.xxx.xxx.xxx/24

    I get a new error message.

    "192.168.12.112/24 Host Name Lookup Failure"

    Ideas?

    J
    _________________

  2. #2
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    100
    The man page for ifconfig says that "add" is used to add an IPv6 address to an interface, but you obviously want IPv4.

    Try this (as root):
    <code>
    ifconfig eth0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
    </code>

    or use the Koppix-menu to configure an ethernet card.

  3. #3
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    16
    Thanks angor....that done it.

    J

Similar Threads

  1. Can't find knoppix.sh / static ifconfig at startup possible
    By DynamiteDan in forum Customising & Remastering
    Replies: 0
    Last Post: 04-10-2008, 02:01 PM
  2. ifconfig says yes ping says no
    By masticate in forum Networking
    Replies: 0
    Last Post: 06-14-2005, 08:45 AM
  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. ifconfig internet error..
    By jimjam in forum Networking
    Replies: 8
    Last Post: 12-01-2003, 02:02 AM

Posting Permissions

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


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD picture

Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD

$149.99



Super micro Server picture

Super micro Server

$168.00



HPE ProLiant MicroServer Gen10 picture

HPE ProLiant MicroServer Gen10

$420.00



HP ProLiant MicroServer Generation 8 Xeon 4gb 4-BAY 2x500GB HDD (included) picture

HP ProLiant MicroServer Generation 8 Xeon 4gb 4-BAY 2x500GB HDD (included)

$200.00



Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible picture

Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible

$220.48



Supermicro 8048B-TR4FT (X10QBI) SuperServer X4 E7-8880 V3 picture

Supermicro 8048B-TR4FT (X10QBI) SuperServer X4 E7-8880 V3

$449.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00