LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2009, 04:11 PM   #1
frydaddy5455
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
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!
 
Old 04-01-2009, 04:15 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
What is your default GW?
What is the output from
Code:
ifconfig
route -n
 
Old 04-01-2009, 04:49 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
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.
 
Old 04-01-2009, 05:00 PM   #4
frydaddy5455
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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:133: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
 
Old 04-02-2009, 01:46 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Is that the complete kernel route table?

Post the 'ifconfig -a'.
 
Old 04-02-2009, 04:43 PM   #6
frydaddy5455
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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!
 
Old 04-02-2009, 05:11 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try this
Code:
route add default gw 192.168.1.254
 
Old 04-02-2009, 05:48 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration