PDA

View Full Version : internet not reachable with knoppix 3.2



lucs
06-20-2003, 05:49 PM
I'm running knoppix 3.2 from cd.My networkcard gets recognized...
if i type ifconfig in a rootconsole two interfaces show up
eth0 en lo or something...
If I use netcardconfig something goes wrong...
at the end of netcardconfig,in the consolewindow one of the messages says broadcast : hostname not recognised or not resolved
i give an ip-adress of 192.168.1.6 a netmask of 255.255.255.240
a broadcastaddress of 192.168.1.255 a gateway 192.168.1.11 and an dnsserver 195.238.2.21 (my isp's dns) the gatewayaddress is of my officeconnect router!
What i can do is something like this
ifconfig eth0 192.168.1.6 netmask 255.255.255.240 broadcast 192.168.1.255 up
no problem after that i can ping my networkcard and other (windows) pc's on my lan!
but the netcardconfig does not do is job or I do something wrong.Apparently I cant update the /etc/network/interfaces and resolv.conf files as they are on the cdrom and you can't write to a cd rom
or can I update these files...How do I do that?
any help would be greatly appreciated
Luc
support engineer windows nt and windows 2000
belgium

Stephen
06-20-2003, 06:15 PM
Netcardconfig should work for you but that being said you can edit the file manually. Open a console window (clam shell icon on the taskbar) and sudo gvim /etc/network/interfaces and enter your settings maually and save the file. Then sudo /etc/init.d/networking restart will restart the network with the new settings. DNS entries are in the /etc/resolv.conf. example files:

/etc/network/interfaces



# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback



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


/etc/resolv.conf



search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34


The search domain in the resolv.conf is not really necessary I have had it working without it with no problems. BTW lo is the loopback interface eg. your computer used to communicate with everything.

lucs
06-20-2003, 06:28 PM
Stephen,
netcardconfig finally came trough for me but i had to use the "noacpi" cheatcode at the boot prompt!!Also I left the keybord/language the default...us-english instead of lang=be (for belgian keybord azerty)
thanks for the reply
luc
support engineer windows NT windows 2000
belgium

lucs
06-20-2003, 07:07 PM
I just remember when having trouble with the netcardconfig utility in knoppix 3.2 the console window said something like :
"GKL : Locale is not supported
and then the utility appeared (netcardconfig)
I point out that I started netcardconfig from a console as root while having specified lang=be at the boot prompt!!
see my post on language setting in general support
luc
support engineer
belgium