Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-09-2005, 08:30 PM
|
#1
|
Member
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59
Rep:
|
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)
|
|
|
10-09-2005, 11:41 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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.
|
|
|
10-10-2005, 01:25 AM
|
#3
|
Member
Registered: Oct 2005
Location: Bangalore,India
Distribution: Debian
Posts: 37
Rep:
|
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.
|
|
|
10-23-2005, 07:59 PM
|
#4
|
Member
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
10-23-2005, 08:13 PM
|
#5
|
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:
|
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
|
|
|
10-24-2005, 12:36 AM
|
#6
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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
|
|
|
10-26-2005, 11:41 PM
|
#7
|
Member
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|