LinuxQuestions.org
Visit Jeremy's Blog.
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 10-09-2005, 08:30 PM   #1
TenEighty
Member
 
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59

Rep: Reputation: 15
Lan not working


I bought an SMC2404WBR wireless router, which has 3 wired LAN ports on the back. I've been trying to configure it, but it appears that my wired ethernet adapter is not working correctly. I have just noted that my audio and my 56k modem both appear in lspci as having IRQ 10 and my ethernet and video both appear as having IRQ11. I have used the modem for about a year without difficulty, so I don't know if this is a problem... but I tried to use the browser configure it via http, nothing. The routher is supposed to be at 192.168.2.1 I then try to ping the IP and I get "Network Unreachable" unless I set the local IP so that the IP I'm pinging is in the same network address, and then is says "sendmsg: operation not permitted" but I can ping 127.0.0.1 and also the IP of the local machine just fine. I read that Network Unreachable is an indication of a routing problem but I havn't got any routing settings except for the loopback. Does the router have to be connected to the ISP before it responds? Is "Network Unreachable" a normal respone in that case? Or is it actually not working properly? I've followed steps in some of the networking Howtos but they havn't been very detailed as far as what I need to do, get my NIC working and configure my router. This going to the internet cafe is starting to get costly...

output from lspci -v

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
Subsystem: Unknown device 1849:0900
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d400 [size=256]
Memory at cfff8000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at fffe0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
Subsystem: Unknown device 1849:6331
Flags: 66Mhz, medium devsel, IRQ 11
BIST result: 00
Memory at c0000000 (32-bit, prefetchable) [size=128M]
Memory at cfee0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at ac00 [size=128]
Capabilities: [40] Power Management version 2
Capabilities: [50] AGP version 3.0


line added to modules.conf

alias eth0 sis900


selected output from lsmod, shows sis900 driver loaded

sis900 12396 1
crc32 2880 0 [sis900]


selected output from dmesg, sis900 detects NIC, no errors

sis900.c: v1.08.06 9/24/2002
PCI: Found IRQ 11 for device 00:04.0
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:0b:6a:6d:75:6e.

eth0: Media Link On 100mbps full-duplex



Output from ifconfig, have tried a several different things with netconfig including dhcp, always the same

eth0 Link encap:Ethernet HWaddr 00:0B:6A:6D:75:6E
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:410 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:136612 (133.4 Kb) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xd400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 10-09-2005, 11:41 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The IP address 192.168.2.1 is an unusual preconfiguration choice. 192.168.1.* range addresses are more common, especially *=1 or 254. Have you tried pinging the router on those addresses? You do not need to be connected to an ISP.

If you are pinging out to the router I cannot understand why you are receiving packets (RX) but not transmitting (TX). Also the 'sendmsg' error is completely mysterious to me in response to a ping request.

Are you sure the cable is OK?

You can watch all network traffic in and out by running tcpdump (as root, in a terminal window) which might tell you something.
 
Old 10-10-2005, 01:25 AM   #3
dhruvypatel
Member
 
Registered: Oct 2005
Location: Bangalore,India
Distribution: Debian
Posts: 37

Rep: Reputation: 15
just try after enabling ip_forwarding.
To enable it goto /etc/sysctl.conf
find line which contains ip_forwarding. In that line change value 0 to 1. After that save that file and exit and run command sysctl -p.
 
Old 10-23-2005, 07:59 PM   #4
TenEighty
Member
 
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
huh, works on browser

well, the cable guy just hooked me up. We had trouble with the router, which I was going to use to split internet over the neighbors connection but that's fallen through...

thanks very much for the information. It intrigues me that you feel this isn't really normal. Especially since I for some reason decided to try the browser again, at http://192.168.2.1 and it worked. Don't ask me why it wouldn't ping. But once I configued my local adress to 192.168.2.2 and my net mask to 255.255.255.0, giving my network a range of 192.168.2.1 to 192.168.2.255 (I think that's how it works) I was able to communicate with the router in my browser, but I couldn't ping it. So I'm closing unused ports, and later I'll try to see if I can configure the router properly.

I didn't find a sysctl.conf file anywhere, but looked at the man page for sysctl and also the man page for sysctl.conf. I was previously unaware of sysctl so that's good. And also tcpdump, that's going to be handy eventually for sure.

So what is a sendmsg error anyway?

Thanks again.

Last edited by TenEighty; 10-23-2005 at 08:00 PM.
 
Old 10-23-2005, 08:13 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Yes some routers use 192.168.2.1. So now you can see the router so you have set the IP, subnet, gateway, and dns on the nic?

Pinging may be being blocked on the router.

Now all I know about comcast/insight internet is that they use the mac address of the connected device for authenitication.
Did they provide a router and or a nic card?
Were you ask to provide a mac address?
The router will either need to imitate the mac address used to setup the account or you need to have the cable provider make sure they are execpt the wan side mac address of the router.

Hope this helps.
Brian1
 
Old 10-24-2005, 12:36 AM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

Mod note: this sounds much more like a network issue than hardware, good luck with it
 
Old 10-26-2005, 11:41 PM   #7
TenEighty
Member
 
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
oooh ok

It's all good now. Yeah, I had to set the DNS for eth0. That was missing. I finally found that it's supposed to be the address of the router and the router forwards all DNS requests to the DNS servers provided dynamically by the ISP. Slightly confusing at first, but doing good now.

I'm using Shaw Cable, in Vancouver. I suppose they use the address of the cable modem. They didn't provide any NICs or routers, just a Motorola SB5101 "surfboard" cable mode. When we were switching from the router to direct to PC, the installer told me "just unplug the power from the modem. it likes to attach itself to a MAC adress." So it seems I can plug anything I want into the modem and use it. I read in a forum about some US cable ISP not wanting their customers using any type of router or firewall, but these guys are fine.

Incidentaly, if anyone is wondering, he said the hispeed service is about 5meg and the hispeed "i" is about 7. I've yet to see more than a brief 330k/s, but there's still time to play, plus this area is VERY densly populated. hispeed gets 30gigs/month of traffic and hispeed i gets 50. All the figures differed from what the girl on the phone said though, but whatever. I believe the installer, he didn't hesitate, he knew. How does that stack up? On the phone they said they were in the top ten in the world for high speed... uh huh.

So everyting seems to be working so far as I need it to. This is great. Yeah, I suppose this started as a potential hardware issue with the NIC, but networking is a better forum. oops.
 
  


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
I can't get a LAN working on Mandrake 10.1 BigEast55 Linux - Networking 2 08-09-2005 06:50 AM
Telnet on LAN not working oPi Linux - Newbie 7 02-03-2005 09:25 AM
LAN isent working! need help! troned Linux - Networking 2 11-16-2003 10:14 PM
I go my on board lan working herbert LinuxQuestions.org Member Success Stories 0 10-22-2003 10:23 PM
DNS not working on LAN. richcoosa19 Linux - Networking 3 09-11-2003 05:26 PM

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

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