LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-31-2010, 01:14 PM   #1
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Rep: Reputation: 0
Question Need help configuring network adapter - Linux Newbie


I've only been using linux for a few days so I don't know all the tricks. I'm pretty savy configuring windows networks however.

My adapter is (according to windows) a: CNet PRO200WL PCI fast ethernet adapter

Linux says it is a: 21x4x DEC-tulip compatible 10/100 Ethernet

I do seem to be getting an ip address from the DHCP router, but I cannout ping any other ips or connect to the internet.

I've tried a bunch of different options, switching things back and forth, but it still doesn't work, and honestly i don't even know what some of the options mean.

Any help or tips in correctly configuring my adapter would be appreciated!

ALSO, if this helps:
paladin:~ # ifconfig eth0
Eth0 Link encap:Ethernet HWaddr 00:08:A1:03:3C:99
inet addr:192.168.1.5 Bcast:192.168.1.1255 Mask:255.255.2255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:46 errors:342 dropped:0 overruns:0 frame:0
TX packets:64 errors:7 dropped:0 overruns:0 carriers:0
Colisions:0 txqueuelen:1000
RX bytes:7256 (7.0 Kb) TX bytes:9334 (9.1 Kb)

Last edited by paladin7721; 01-31-2010 at 01:59 PM. Reason: Updated info
 
Old 01-31-2010, 01:37 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Try to:

ping 208.67.222.222

Tell if it will go or not.
 
Old 01-31-2010, 02:01 PM   #3
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Try to:

ping 208.67.222.222

Tell if it will go or not.
No, it did not work. The output is:

from 192.168.1.5: icmp_seq=1 Destinatin Host Unreachable
 
Old 01-31-2010, 02:02 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Please, type on root console:
dhclient eth0

Post output.

Thanks
 
Old 01-31-2010, 02:15 PM   #5
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Please, type on root console:
dhclient eth0

Post output.

Thanks
output:
# dhclient eth0
Internet Systems Consortium DHCP Client V3.1.2p1
Copyright 2004-2009 Internet Systems Consortium
All Rights Reserved.
For info please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:08:a1:03:3c:99
Sending on LPF/eth0/00:08:a1:03:3c:99
Sending on Socket/fallback

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS recieved.
No working leases in persistent database - sleeping.
 
Old 01-31-2010, 02:27 PM   #6
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
more terminal output:

Code:
#route -n
Kernel IP routing table
Destination  Gateway  Genmask  Flags Metric Ref Use Iface
127.0.0.0    0.0.0.0  255.0.0.0  U     0     0   0    lo

Last edited by paladin7721; 01-31-2010 at 03:49 PM. Reason: formatting
 
Old 01-31-2010, 02:29 PM   #7
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Please, do on root console:
ifconfig eth0 down
ifconfig eth0 192.168.22.22 up
arp -n -i eth0

Post output please.

Thanks
 
Old 01-31-2010, 02:32 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You need to add your default gateway
Code:
route add default gw xxx.xxx.xxx.xxx
 
Old 01-31-2010, 02:48 PM   #9
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Please, do on root console:
ifconfig eth0 down
ifconfig eth0 192.168.22.22 up
arp -n -i eth0

Post output please.

Thanks
output:
arp: In 0 entries no match found.
 
Old 01-31-2010, 02:49 PM   #10
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
You need to add your default gateway
Code:
route add default gw xxx.xxx.xxx.xxx
output:
# route add default gw 192.168.1.1
SIOCADDRT: no such process.

Last edited by paladin7721; 01-31-2010 at 02:51 PM. Reason: updating output
 
Old 01-31-2010, 02:56 PM   #11
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Have you connected ethernet cable from your computer to somewhere? If yes, what is it?
 
Old 01-31-2010, 03:07 PM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
output:
# route add default gw 192.168.1.1
SIOCADDRT: no such process.
Is your ip still 192.168.1.5 ?
since you changed it
Quote:
ifconfig eth0 192.168.22.22 up
 
Old 01-31-2010, 03:07 PM   #13
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Have you connected ethernet cable from your computer to somewhere? If yes, what is it?
Yes, my ethernet cable is connected to a Linksys Router (WRT54G) with the routing functions turned off, just using it as a switch. The linksys router is connected to a Verizon FiOS router which is set up as the DHCP router for the network.

I can boot to Windows and the internet, and networking between my other computer works fine, so I know that the connections are all good.
 
Old 01-31-2010, 03:15 PM   #14
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you try to do:
ping -b 255.255.255.255

Post output, please.
 
Old 01-31-2010, 03:23 PM   #15
paladin7721
LQ Newbie
 
Registered: Jan 2010
Location: Lynnwood, WA
Distribution: openSuSE v11.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Is your ip still 192.168.1.5 ?
since you changed it
No it was changed. I changed it back to 192.168.1.1 and re-entered the command:
Code:
# route add default gw 192.168.1.1
There was no output, so I typed # route -n and got this:
Code:
# route -n
Kernel 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
127.0.0.0    0.0.0.0  255.0.0.0      U      0    0   0   lo
0.0.0.0    192.168.1.1 0.0.0.0       UG     0    0   0   eth0
 
  


Reply



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
Configuring my network adapter omidiora Linux - Networking 1 04-21-2006 10:58 AM
Newbie with FC4, Need help configuring SMC2662W USB 802.11b Adapter dam718 Linux - Wireless Networking 1 11-12-2005 04:59 PM
configuring Atheros AR5001X+ Wireless Network Adapter asilentmurmur SUSE / openSUSE 0 03-04-2005 12:18 AM

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

All times are GMT -5. The time now is 09:29 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