LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New to linuxquestions.org: Why wont knoppix-std connect to my LAN? (https://www.linuxquestions.org/questions/linux-newbie-8/new-to-linuxquestions-org-why-wont-knoppix-std-connect-to-my-lan-716153/)

frydaddy5455 04-01-2009 03:11 PM

New to linuxquestions.org: Why wont knoppix-std connect to my LAN?
 
Hello! I am new to these forums as of today, and look forward to learning as much as i can about linux. I currently have ubuntu 8.10 installed on 3 of my machines and like it very much. In the past i have used slackware distributions.

I am currently in school for computer networking systems, and one of my teachers turned me onto knoppix std to play with as we will be learning about it in later quarters. I made the liveCD and was able to get it to boot up on my desktop with:
boot: knoppix lang=us

and on my laptop with:
boot: knoppix lang=us no{fireware}

I can get closer to connecting to my LAN with my desktop because i can get it to at least initialize the eth0 and get an IP address, which i cant even get that far with my laptop.

But when i try to ping another computer on the LAN (or anything for that matter) from my desktop, i get no response as though knoppix has cut off communication with outside machines. Any info will be appreciated, as i am trying to familiarize myself with some of these tools before we get to them in later quarters of school.

Thank you!

repo 04-01-2009 03:15 PM

What is your default GW?
What is the output from
Code:

ifconfig
route -n


onebuck 04-01-2009 03:49 PM

Hi,

I would add the '-a' option to the ifconfig;

Code:

from the console do;

~#ifconfig -a            #this will show all recognized devices
                       
~#route -n              #show the kernel route table.

Do a 'man' for the above commands.

The 'KNOPPIX-std' livecd will attempt to setup the network via DHCP. If that fails you can configure your network device manually. If the initialization doesn't recognize your device then you may be forced to utilize 'NDISWRAPPER' to get your network device working via a M$ driver.
You can do a search here on LQ since this has been covered many times.

frydaddy5455 04-01-2009 04:00 PM

Hi again. At first ifconfig only shows me lo. After i do:
ifconfig eth0 192.168.1.3
i get:
root@0[knoppix]# ifconfig0
eth0
Link encap:Ethernet HWaddr 00:13:D3:50:2F:90
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:17 Base address:0x7000

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LLOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)


and then route -n:

root@0[knoppix]# route -n
Kernal IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

onebuck 04-02-2009 12:46 PM

Hi,

Is that the complete kernel route table?

Post the 'ifconfig -a'.

frydaddy5455 04-02-2009 03:43 PM

Hi again,
Yes that is the complete routing table that shows up, and
ifconifg -a
gives me same as the post above. Sorry it doesn't look exactly like the output as i am typing the results rather than copying.

route -n
Destination - 192.168.1.0
Gateway - 0.0.0.0
Genmask - 255.255.255.0
Flags - U
Metric - 0
Ref - 0
Use - 0
Iface - eth0

I know that my dsl modem/router is at 192.168.1.254, i don't know if this has any relevance. I am sure it is user error on my part because my ubuntu 8.10 system works fine, and before that i had slackware 12 on the same setup with no problems. Maybe i just need to do some manual editing that im not sure how to do yet?

:P Thanks again for all the help!

repo 04-02-2009 04:11 PM

try this
Code:

route add default gw 192.168.1.254

onebuck 04-02-2009 04:48 PM

Hi,

Whenever you need to copy console output you can use the mouse as long as 'gpm' has been loaded. Just highlight and paste to file.

You could use redirection to a floppy or a usb flash then post via your browser.

I agree the manual setting for the kernel route table should work for you. Don't forget to set your 'DNS' nameserver in the '/etc/resolv.conf' file.


All times are GMT -5. The time now is 12:01 PM.