Date: Tue, 11 Apr 95 14:39:00 PDT From: Plyaskin Sergey <splyaski@cmp.com> To: questions <questions@FreeBSD.org> Subject: RE: cannot connect to LAN Message-ID: <2F8AF833@mailgate.cmp.com>
next in thread | raw e-mail | index | archive | help
Dean, I can't recall the exact string. You have to modify your /etc/hostname.ep0 file to add 'link2' flag. Maybe I'm wrong, but I think something like this: 198.82.27.1 netmask 0xffffff00 link2. I'm not using 3COM card myself so I can't tell for sure. Justin, Your patience is amazing :-). I think that "link2" thing must be a hottest hit for the FreeBSD FAQ. Regards. -Serge. ---------- From: owner-freebsd-questions To: questions Cc: shu Subject: cannot connect to LAN Date: Tuesday, April 11, 1995 10:44AM Hi, I bought the most recent freebsd on CDROM from Walnut Creek a couple of weeks ago. It's my first time using freebsd. Software, including X11R6, got installed and ran fine on my 486/50 machine. But somehow I couldn't get the network going. I am using 3COM509 NIC. The command ifconfig showed the interface card was up and running: % ifconfig ep0 ep0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX> mtu 1500 inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255 I could ping to myself, but couldn't ping to any other machines in the same LAN. It always got the error send to: host is down Other machines couldn't ping to freebsd machine either. I wonder if I have missed anything in the network setup? On HP-UX, we do need to run another command "lanconfig" after the command ifconfig. I couldn't find a similar command for that function in freebsd. Is that required in freebsd? Thanks for your help! -Dean Shu lanconfig(1M) lanconfig(1M) NAME lanconfig - configure network interface parameters SYNOPSIS lanconfig interface [ether |-ether] [ieee |-ieee] DESCRIPTION lanconfig is used to configure the network interface protocol. It must be used at boot time to configure each interface present on a machine, and can also be used at a later time to redefine interface protocol configuration. interface is a string of the form name unit, such as lan0. lanconfig enables or disables protocols as defined by the following parameters: ieee Enable IEEE 802.3 protocol over the network interface. -ieee Disable IEEE 802.3 protocol over the network interface. ether Enable Ethernet protocol over the network interface. -ether Disable Ethernet protocol over the network interface. (none) If no optional parameters are supplied, lanconfig displays the current configuration for interface. Only users with appropriate privileges can modify the configuration of a network interface. If no protocol encapsulation method is enabled, the lan driver cannot send packets over that interface and any subsequent send() fails, returning the error [ENETUNREACH]. DIAGNOSTICS Messages indicating the specified interface does not exist, the requested parameter value is unknown, or the user is not privileged and tried to alter an interface's configuration. SEE ALSO netstat(1), ifconfig(1m), hosts(4), routing(7). Hewlett-Packard Company - 1 - HP-UX Release 9.0: August 1992 -------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F8AF833>