-
Junior Member
registered user
I also have a problem like gill but I have succes to reconfigure the network card using netcardconfig from root access from console.
But I found a new problem here.... after I restart the machine.... the configuration back to DHCP again and the IP is given by DHCP server.
For your information... i want a static IP for my machine... and I reconfigure it by netcardconfig.
Why the confguration that change by netcardconfig didn't reload at next restart ?
What I should do ?
regards,
koselan.
-
Senior Member
registered user
As you can see I have split your post to a new topic this way you have a better chance of getting a reply to your problem that being said on to it.
Are you running from the HD or CD? If from the HD do you have dhcp client program running on your machine that would get an address from a DHCP server? If you are running from the CD then DHCP is the default method of getting an IP address and you will have to run the netcardconfig to set your static IP unless you use the floppy config or persistant home options off the Knoppix menu.
-
Junior Member
registered user
i have my Knoppix3.2 installed on my HD and I do not want Knoppix run a DHCP when startup. What I should do ?
For your information, I always run netcardconfig to set my static IP after my machine boot-up.
Please help me.
Thanks
Susanto W
-
Senior Member
registered user
Originally Posted by
koselan
i have my Knoppix3.2 installed on my HD and I do not want Knoppix run a DHCP when startup. What I should do ?
For your information, I always run netcardconfig to set my static IP after my machine boot-up.
Please help me.
Thanks
Susanto W
You need to edit /etc/network/interfaces.
You should see a line like this: iface eth0 inet dhcp
Remove dhcp and you should be good to go.
-
Senior Member
registered user
Your configuration should be getting saved by running netcardconfig that being said you can check in the file /etc/network/interfaces this is where your settings for the card are contained example file below:
Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
It should have a similar format to this you would of course adjust the settings to yours.
Your nameservers settings would be in the file /etc/resolv.conf example file:
Code:
search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34
You only need the one nameserver line the search of your domain and the extra nameserver are not necessary.
The hostname for your computer is set in the file /etc/hostname and that is just one line with the hostname for your computer example:
You should have similar settings in all these files and when you reboot the settings should be used if they are not used could you post the contents of each of these files before you change them so you can connect. All editing of these files done as root of course.
-
Junior Member
registered user
Dear Stephen,
I've tried all day with your example but after a machine-restart my machine still use IP from DHCP. And now, when I need to setup my static IP on my machine, I just type :
$ /etc/init.d/networking restart
After doing this so far, I have coclusion that there are another setting that run DHCP automatic after a restart and do not use my setting on /etc/resolve.conf; /etc/network/interfaces and /etc/hostname.
Any one can help me ?
Thanks.
Susanto W
-
Junior Member
registered user
Finally I found the problem.
And I want to share with you....
I found a file /etc/init.d/knoppix-autoconfig
Configuration for knoppix start-up is in this file so I also found that there was an instruction :
pump -i $DEVICE >/dev/null 2>&1 &
I know that instruction is find the DHCP server ... is it right ?
So I disable that instruction and replace with
/etc/init.d/networking restart
then.... My wish is come true.....
Finally, I want to thanks for every one that already help me.
Thanks
Susanto W
-
Junior Member
registered user
You rule dude, ive been messing with this for the last two days and i thought i was going nuts!!! but your changed worked for me also!!!!
thanks alot
Similar Threads
-
By rrfish72 in forum General Support
Replies: 2
Last Post: 09-05-2004, 03:43 AM
-
By ron2big in forum General Support
Replies: 1
Last Post: 08-01-2004, 07:24 PM
-
By TheTempest in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-24-2004, 10:30 PM
-
By Zak in forum General Support
Replies: 19
Last Post: 09-23-2003, 01:00 PM
-
By beforewisdom in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 03-10-2003, 03:07 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
-
Forum Rules
Vintage COMMODORE AMIGA A1000 Keyboard & Mouse Untested - As Is - Parts & Repair
$129.99
Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200
$37.24
Vampirized Video Toaster Branded Amiga 2000 Desktop Computer w/Flyer Vampire etc
$4999.98
AMIGA 2000 Mainboard Rev 6 ASIS
$100.00
Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek
$65.00
Amiga A500 NTSC, 1 MB Chip RAM, HDMI, Wireless Mouse
$360.00
Commodore Amiga 2000HD Plastic Front FacePlate Bezel with LED Panel 2000 2500
$149.98
Commodore Amiga Game 1991 - OUT OF THIS WORLD - The Only One Available
$249.99
Amiga Gotek V3.42 External Ivory & BIEGE + 0.96 OLED + Rotary with DF1/ 23p Lead
$88.58
TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network
$65.00