LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-15-2003, 10:40 PM   #1
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Rep: Reputation: 15
Real newbie ethernet question


I cannot figure out how to get Linux (SuSE 8.2) to recognize that i am connected to an ethernet router. It recognized my onboard Lan, which is installed, but I cannot figure out what to do from there. The manuals somewhere said to use a program called LISa, but i could not find that anywhere. The NIS also seems to not be working, but i am not certaint on if im doing everything correctly. Any help would be appriciated.
 
Old 09-15-2003, 10:51 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
How do you connect, what's your network setup like, and what's your oboard ethernet device?

Welcome to LQ

Moving to Linux - Networking

Cool
 
Old 09-15-2003, 11:01 PM   #3
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
My network setup is a linksys broadband router on one computer (recieving a road runner cable service) with a cat 5 wire running to my computer (and sending a wireless signal to a third).

My onboard network is a ReaLTek RTL8100BL on a Gigabyte mainboard.

also, the connection works fine in windows..
 
Old 09-16-2003, 01:51 AM   #4
voltron1011
Member
 
Registered: Aug 2003
Location: Tucson, AZ
Distribution: Red Hat 8
Posts: 62

Rep: Reputation: 15
since you are a newbie, you need to enable DHCP on your Linux box. Windows 2000/XP does this automatically (for the most part). DHCP is Dynamic Host Configuration Protocol, it basically gives your machine its street address. However, Linux doesn't have DHCP enabled by default, so you need to go into your network settings and find the area where it says "Obtain IP address automatically." Also, make sure your router is set up to be a DHCP server for your Linux box. Your router will be the all knowing and all wise one who will assign ip addresses to all of the computers in your local net. The only other alternative is to set up IP addresses manually, but that may be too advanced for you right now.
 
Old 09-16-2003, 08:55 PM   #5
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
Both the router and the network card have DHCP enabled (underneth the name of the network card it says eth0 DHCP enabled) and i have it set to obtain IP automatically. Still nothing though. when i try using konqorer or mozilla it still refuses to connect to anything.
 
Old 09-16-2003, 09:33 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Open up a console and enter ifconfig. If you can see that your card is there, but doesn't have an IP address, then entery dhcpcd eth0. That should cause eth0 to send out a DHCP request and (hopefully) get an IP address.
 
Old 09-16-2003, 10:37 PM   #7
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
IP adress is there, it seems like it is connected to the internet (mozilla even says im connected).
Still, neither konqueror or mozilla will connect to any webpages, suse help or anything else. is there:
a) any other way i can tell if its recognozing the connection (i typed ping in a console and is came up with a bunch of things in [brackets] like [-s packets] but typing any of those does nothing)?
b) something i have to do to get the web browsers to recognize the connection (if there is one)

thx for help and patiance
 
Old 09-17-2003, 01:21 PM   #8
voltron1011
Member
 
Registered: Aug 2003
Location: Tucson, AZ
Distribution: Red Hat 8
Posts: 62

Rep: Reputation: 15
go into your iptables (firewall) and disable everything. If you are using the GUI go to "system settings" and then "securiry level." There you able to adjust your firewall rules accordingly. Be aware though, that upon returning to the firewall rules it will appear to be back at "high" setting. The way to find out that your firewall is open is to go to the console and type "iptables -L". You need to be logged in as 'root' for this to work. You should see no rules at all, just blank areas under the headings "target. prot option source and so on"
 
Old 09-17-2003, 01:25 PM   #9
voltron1011
Member
 
Registered: Aug 2003
Location: Tucson, AZ
Distribution: Red Hat 8
Posts: 62

Rep: Reputation: 15
go into your iptables (firewall) and disable everything. If you are using the GUI go to "system settings" and then "securiry level." There you able to adjust your firewall rules accordingly. Set it to "no firewall", Be aware though, that upon returning to the firewall rules it will appear to be back at "high" setting, this is not the case though. The way to find out that your firewall is open is to go to the console and type "iptables -L". You need to be logged in as 'root' for this to work. You should see no rules at all, just blank areas under the headings "target. prot option source and so on"
 
Old 09-17-2003, 06:14 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Hmm. If you have an IP address, that suggests DHCP is working, but have a look in your Linksys router DHCP table to make sure. Why don't you post the results of route -n. Basically, you want to make sure that the gateway for your ethernet card is your router and not something else.
 
Old 09-17-2003, 09:39 PM   #11
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
Ummm...

I tried to turn off the firewall but it was already off.

The router -n said:

Destination Gateway Genmask flags metric ref Use Iface
196.128.1.0 0.0.0.0 255.255.255.0 u 0 0 0 eht0
0.0.0.0 196.128.1.1 0.0.0.0 ug 0 0 0 eth0

in the IF Config there was an IP adress. I noticed there were 524 packets (rx and tx) with no losses, drops, or errors. If im not mistaken that means im connected to the internet, right?

im not sure if theres anything else in the IP table i need to know, but there was alot of "Accept"s and "anywhere"s.
 
Old 09-18-2003, 07:28 AM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Just to ask the obvious question, is your Linksys router at 192.128.1.1? Also, can you ping your router (you may have to enable the router to reply to ping first. I think Linksys prevents ping response by default).

You could also try pinging LQO a couple different ways

ping www.linuxquestions.org
ping 64.179.4.146

If the first fails, but the second succeeds, you've got a DNS problem.

Also, you might want to post the results of iptables -L.
 
Old 09-18-2003, 10:32 PM   #13
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
Pinging the site adress did not work at all (unable to reach host) the ip adress gave 400+ lines of saying something like host unreachable.
 
Old 09-19-2003, 07:40 AM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
OK, now for the other two questions:

Is your router at 192.128.1.1?
What is the output from iptables -L?
 
Old 09-20-2003, 10:50 AM   #15
Jdurr
LQ Newbie
 
Registered: Sep 2003
Distribution: Equal among all Linux flavors
Posts: 22

Original Poster
Rep: Reputation: 15
The results of the iptables:

linux:~ # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

and as far as i know the router is the same IP as me. I am not certain though, and the router is not very easy to work with. I know i have DHCP enabled though.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Real NEWBIE question! rkhartley Linux - Newbie 4 10-29-2003 09:56 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
real newbie question - sorry mike@wales Linux - Newbie 1 07-20-2003 04:03 PM
The real Linux Newbie Question!!! Farem Linux - Newbie 6 06-21-2003 05:11 PM
Real Newbie Question... killer_cobra Linux - Newbie 4 11-04-2002 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:54 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
Open Source Consulting | Domain Registration