Results 1 to 6 of 6

Thread: Can't set hostname.

  1. #1
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    26

    Can't set hostname.

    Hello, I tried knoppix 3.3 and still I can't get my cable connected to the internet, I guess
    because my provider needs my hostname (computernaam). It simple refuses connection without that, has anyone a idea how I can set that before I try things like
    netcardconf etc.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Edit the file /etc/hostname as root and put the name in there then run netcardconfig. The command would be sudo gvim /etc/hostname if you are running from the CD.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    26
    Thanks Stephen, I could set my hostname, further I seem to have another problem,
    because after that, netcardconfig says:

    sending DHCP broadcast from device eth0Operation failed

    Whatever I found on another forum a suggest to type in a shell:

    pump -h `computername` -i eth0 ( as root on hd install)

    or:

    sudo -u root pump -h `computername` -i eth0 (from running cd)

    After that I was finally online, thanks for answering, still I am wondering why
    I can't configure netcard (realtek) and modem (motorola) in normal way.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by WimG
    still I am wondering why
    I can't configure netcard (realtek) and modem (motorola) in normal way.
    Good question that I don't really have a good answer for other than sometimes with hardware it's a toss up whether it will work in various combinations, good to hear you got it going though.

  5. #5
    Junior Member
    Join Date
    Sep 2003
    Location
    Netherlands
    Posts
    4
    i have the same issue as Wim...
    using Knoppix v3.3 on CD


    i did the "sudo gvim /etc/hostname" thing and changed the line in that file to my hostname; CP121041-A
    that went fine, even went back to check if my changes got saved, and it did.

    but when i ran this thing here:
    sudo -u root pump -h 'CP121041-A' -i eth0

    it waits some seconds and then it says:
    Operation Failed


    i ran netcardconfig but... no luck
    got the same error as Wim

    does anyone has any ideas?
    keep in mind, i'm a complete n00b

  6. #6
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    26
    Hello FunForum,

    Probably you used the ' ' signes, try without, so:

    sudo -u root pump -h computername -i eth0

    maybe eth0 can be eth1 depends on your ethercard.

Similar Threads

  1. The colour of user@hostname~@: ?
    By e2k in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-25-2004, 09:32 AM
  2. change hostname?
    By Valhalla in forum General Support
    Replies: 3
    Last Post: 03-25-2004, 07:53 PM
  3. SUGGESTION: Specify hostname cheatcode
    By cascadefx in forum Ideas
    Replies: 10
    Last Post: 08-24-2003, 07:25 AM
  4. Hostname on command line
    By Ambrose in forum General Support
    Replies: 1
    Last Post: 08-08-2003, 02:17 AM
  5. How do I change the hostname?
    By jensen in forum General Support
    Replies: 2
    Last Post: 07-18-2003, 10:30 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
  •  


HP EliteBook 840 G10 14  WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S picture

HP EliteBook 840 G10 14 WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S

$599.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$50.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$15.90



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture

HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin

$8.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$38.95



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz 3200MHZ Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz 3200MHZ Desktop RAM Memory DIMM 288pins

$120.70



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$118.80