Re: Questions with configuring multiple NIC's
Hello again, I've managed to get myself absolutely lost. I've got everything recompiled, no network interfaces on startup. I can ifconfig sis0, the onboard ethernet, it works. Only problem is, I can't reach anything off the local network. What am I missing? I know it's something that init calls at startup that reads resolv.conf, etc..., but I have yet to figure out what. I've been Googling for a while and reading man pages; rc, rc.conf, resolv.conf, init, etc..., and I'm stumped. If anyone could offer anything it would be much appreciated. Thanks, Josh - Original Message - From: J Ramos [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, February 16, 2005 7:38 PM Subject: Questions with configuring multiple NIC's Hello, I'm currently running 5.3 on a HP Pavillion ze4420us laptop. Pretty much everything that I would like to get working works, with the exception of my NIC's. The onboard National Semiconductor DP83815/16 works fine by itself with the sis driver. I have 2 pcmcia wireless ethernet cards, that work. Linksys WPC11 v4 wireless B card is recognized via XP drivers and ndis, as is the Netgear WG511, also through XP drivers and ndis. I'm having a tough time getting the wireless cards configured correctly with ifconfig. I believe that the problem is with the netmasks. Seems like I read somewhere that 2 NIC's on the same machine connected to the same network may not share the same netmask. One should be 255.255.255.0 and the other should be 255.255.255.255. sis driver support is built in to the kernel, GENERIC kernel from install, which I will probably have to rebuild shortly. Not being able to kldunload the si and if_sis modules keeps sis0 constantly in ifconfig. If I unplug the cable and try to run only a wireless card, it doesn't seem to work correctly. ifconfig'ing ndis0 to a good ip and 255.255.255.0 netmask says the network is down when trying to ping the router. Using the 255.255.255.255 netmask with ndis0, pinging the router leads to ping: sendto: Host is down. However, the interesting thing is that I get a message from arp, io kernel: arp: 192.168.1.1 is on sis0 but got reply from 00:09:5b:dd:c4:f8 ( the router mac address) on ndis0. Although sis0 is not on the network, my machine is acting like it since sis0 can be disabled, but the modules can't be unloaded. Here's my point... Would I be better off rebuilding a kernel with sis driver support not built in, but instead loading the modules and ifconfig'ing only the interface I need at that point in time, and if I need to change, just unload the modules I don't need, and load the ones I do, then ifconfig the new active interface? There may be a more elegant solution, and I'd be happy to hear them, or any links or man pages that I probably overlooked. Thanks much, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions with configuring multiple NIC's
On Fri, 18 Feb 2005 21:26:33 -0500, J Ramos [EMAIL PROTECTED] wrote: Hello again, it works. Only problem is, I can't reach anything off the local network. Well, can you # ping IP? Also changes to resolv.conf should take immediate effect. What does /etc/host.conf say? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions with configuring multiple NIC's
J Ramos wrote: I've managed to get myself absolutely lost. I've got everything recompiled, no network interfaces on startup. I can ifconfig sis0, the onboard ethernet, it works. Only problem is, I can't reach anything off the local network. What am I missing? I know it's something that init calls at startup that reads resolv.conf, etc..., but I have yet to figure out what. I've been Googling for a while and reading man pages; rc, rc.conf, resolv.conf, init, etc..., and I'm stumped. If anyone could offer anything it would be much appreciated. Probably a default route. Try route add default _IP_of_your_router_ Or try running dhclient. Does that give you a working network config? If you want to reconfigure your machine via a menu, run /stand/sysinstall, and you can see what changing the network config from there does to /etc/rc.conf. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions with configuring multiple NIC's
Chuck, That's odd. I went through the same procedure i went through last time, which was: # kldload sis.ko # kldload if_sis.ko # ifconfig sis0 inet 192.168.1.102 netmask 255.255.255.0 # netstat -rn ( at that time, there was no default route) # /etc/netstart ( added default route as part of the script) Now, I can ping off the local network by name, so evidently it's working. I have no idea why it wouldn't work before. More than likely in the fumbling in the dark attempt I was making, I managed to screw something up, go figure. Shutting down sis0, loading the modules for one of my wireless cards, and working through configuration also yields positive results. I'm still going to give dhclient a shot. Planning on doing some travelling in the near future, and most network access on the road is going to be DHCP, I would imagine. Fabian, Thanks for your suggestions, as well. I could ping by IP, just not off the local network. I thought that I had established a default route, I'm almost certain, but I guess I was wrong. All seems to be working now, though. Thanks again, Josh - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: J Ramos [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, February 18, 2005 9:40 PM Subject: Re: Questions with configuring multiple NIC's J Ramos wrote: I've managed to get myself absolutely lost. I've got everything recompiled, no network interfaces on startup. I can ifconfig sis0, the onboard ethernet, it works. Only problem is, I can't reach anything off the local network. What am I missing? I know it's something that init calls at startup that reads resolv.conf, etc..., but I have yet to figure out what. I've been Googling for a while and reading man pages; rc, rc.conf, resolv.conf, init, etc..., and I'm stumped. If anyone could offer anything it would be much appreciated. Probably a default route. Try route add default _IP_of_your_router_ Or try running dhclient. Does that give you a working network config? If you want to reconfigure your machine via a menu, run /stand/sysinstall, and you can see what changing the network config from there does to /etc/rc.conf. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions with configuring multiple NIC's
Hello, I'm currently running 5.3 on a HP Pavillion ze4420us laptop. Pretty much everything that I would like to get working works, with the exception of my NIC's. The onboard National Semiconductor DP83815/16 works fine by itself with the sis driver. I have 2 pcmcia wireless ethernet cards, that work. Linksys WPC11 v4 wireless B card is recognized via XP drivers and ndis, as is the Netgear WG511, also through XP drivers and ndis. I'm having a tough time getting the wireless cards configured correctly with ifconfig. I believe that the problem is with the netmasks. Seems like I read somewhere that 2 NIC's on the same machine connected to the same network may not share the same netmask. One should be 255.255.255.0 and the other should be 255.255.255.255. sis driver support is built in to the kernel, GENERIC kernel from install, which I will probably have to rebuild shortly. Not being able to kldunload the si and if_sis modules keeps sis0 constantly in ifconfig. If I unplug the cable and try to run only a wireless card, it doesn't seem to work correctly. ifconfig'ing ndis0 to a good ip and 255.255.255.0 netmask says the network is down when trying to ping the router. Using the 255.255.255.255 netmask with ndis0, pinging the router leads to ping: sendto: Host is down. However, the interesting thing is that I get a message from arp, io kernel: arp: 192.168.1.1 is on sis0 but got reply from 00:09:5b:dd:c4:f8 ( the router mac address) on ndis0. Although sis0 is not on the network, my machine is acting like it since sis0 can be disabled, but the modules can't be unloaded. Here's my point... Would I be better off rebuilding a kernel with sis driver support not built in, but instead loading the modules and ifconfig'ing only the interface I need at that point in time, and if I need to change, just unload the modules I don't need, and load the ones I do, then ifconfig the new active interface? There may be a more elegant solution, and I'd be happy to hear them, or any links or man pages that I probably overlooked. Thanks much, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]