LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cable internet on knoppix 3.8.2 (https://www.linuxquestions.org/questions/linux-newbie-8/cable-internet-on-knoppix-3-8-2-a-325318/)

aNthraXx 05-20-2005 06:26 AM

cable internet on knoppix 3.8.2
 
Hi, first of I would liek to say i am totally new :newbie: to linux and dont really know anything about it. Sory if this has been asked before although i have searched the forum and tried suggestions but none have worked. I have downloaded knoppix v382 yesterday, and it looks great and i would like to use it but there is one problem, my internet wont work on it.

I have tried configuring the network cards (i have 2)
One which goes to the cable modem (onboard nic, i think this one is eth0)
and one which is connected to a winxp computer through a crossoveer cable (pci nic, i think it is eth1)
these are both wired connections

each time it asks
-use dhcp broadcast? [y/n]
if i press yess on either network card it fails to broadcast.

-please enter ip[ address for eth0
here i enter my ip address from the internet (is this right?) which is 82.xx.xxx.xx.

--please enter networtk mask for eth0
in windows it says "subnet mask" which is "255.255.248.0". i put that into the box? i dont tknwo if this is right,

--please enter broadbast address for eth0
i dont know what this is so i leave it blank

--please enter default gateway
in windows it says this is "82.44.200.1", so i put that in

--please enter nmameservers
al my nameservers are automatically put in, i dont know how this happens but they are "62.30.112.29, 192.117.134.19, 62.30.0.39" Because it is put in automatically i htoguth it had a connection to something..

then it does somehting in a command prompt, and then closes. there is no error message.

after doing all that i try using an internet application such as firefox or konquerer and it says looking up google.com... but eventually cannot find the site. or any other site. :scratch:

on another thread it suggested to do this command in a box
"apt-get install dhcpcd" - that didnt work
and
"dhcpcd eth0" - this didnt work either.


from "connecting with blueyonder & a few other queries" thread (i cannot post the url) it suggests "ifdown eth0" and "dhclient eth0", i tried these on a root terminalbut it said bash: unknown command or something.
also in "blueyonder broadband" thread it says try "dhcpcd eth0" i tried this but again nothing happened there was an error.

all of the above information was probably useless and i was doign the wrong thing, but i would really like to test knoppix out. Could anyone help me with the dhcp stuff? what to put in etc. any help would be greatly apprechiated.
thanks in advance

makuyl 05-20-2005 08:00 AM

You could try "ifup eth0" and "pump -i eth0" to broadcast.
"ifconfig" will tell if it's configured and got an IP.
BTW, you shouldn't post your IP and the fact that you're running a semiconfigured linux. IMHO it's asking for trouble. Edit your real ip to xx.xx.xx.xx.

aNthraXx 05-20-2005 08:25 AM

thanks for the reply, i will try what you have suggested now. also a x'ed out my ip, thansk for the tip.:)

aNthraXx 05-20-2005 09:20 AM

i tried that and it said

"Operation failed".


:( :confused:

craigevil 05-20-2005 10:13 AM

Try following the directions here:
"How do I use a static IP address with the CD-Rom?"
http://www.knoppix.net/wiki/Network_...9_nameservers.

makuyl 05-21-2005 04:16 AM

The IP is static? Then dhcp is of little use and you might as well use the "nodhcp" cheatcode as well as follow the howto posted by craigevil

aNthraXx 05-21-2005 04:50 AM

thankyou for your replies,

the ip is not static, although it has been the same for ages. sometiomes it changes. in windows network properties it says i have a dhcp server, which is 62.3x.3x.1xx, is this of any use?:scratch:

makuyl 05-21-2005 05:12 AM

Are you sure the nic is detected correctly and have drivers? What does "dmesg |grep eth" say?
Reason I ask it is "Operation failed" should happen if the nic is ok.
What does "ifconfig" say?

You could also try adding to /etc/network/interfaces :
auto eth0
iface eth0 inet dhcp
and do "sudo /etc/init.d/networking restart"

aNthraXx 05-21-2005 05:54 AM

thankyou allf or your help, i am typing this on knoppix!!!!!

wohooo

thankyou again

im not quite sure how i did it, but those commands you gave me seemed to work (i cant copy and paste form the root terminal, if you showed me how i would paste the results)

thanks alot, aNthraXx :D :D

makuyl 05-21-2005 05:48 PM

Glad it worked.
You can copy-paste in linux by copying with highlighting text and pasting with middle-mousebutton. With a 2-button mouse you paste by pressing both buttons simultaneously.


All times are GMT -5. The time now is 01:59 AM.