*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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.
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.
We have this very old system running in our company, I dont know who installed it but on our inventory, it says that this server has this ip address 1.1.1.1. now, when I check the rc.conf file, it has no ipaddress defined...also, when I try to check the ip though sysintall, it says "no network devices available!"
Im really confuse how did they configure this server. Guys, do have any idea where can I find the NIC config file?
Distribution: FreeBSD(preferred), Fedora 15, WebOS, Mac OS, NetBSD, Ubuntu (if I have no other choice)
Posts: 46
Rep:
Quote:
Originally Posted by ashlyjay
FreeBSD 6.3
Hi guys,
We have this very old system running in our company, I dont know who installed it but on our inventory, it says that this server has this ip address 1.1.1.1. now, when I check the rc.conf file, it has no ipaddress defined...also, when I try to check the ip though sysintall, it says "no network devices available!"
Im really confuse how did they configure this server. Guys, do have any idea where can I find the NIC config file?
I'm not entirely sure how sysinstall configures networks, but I'm guessing it's through ifconfig. Have you tried running ifconfig? If not, post the results and I'll see if I can tell you anything. Also, check if the NIC is properly seated if you can.
I'm not entirely sure how sysinstall configures networks, but I'm guessing it's through ifconfig. Have you tried running ifconfig? If not, post the results and I'll see if I can tell you anything. Also, check if the NIC is properly seated if you can.
Here's the output of ifconfig
web-dev3# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
inet 1.1.1.1 netmask 0xffffffff broadcast 1.1.1.2
ether 00:15:17:95:b2:d2
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
ether 00:15:17:95:b2:d3
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
FYI: The inet address is not the actual address, I change It for security purpose. But the address is a public ip.
Are you using DHCP or do you want a static IP? For a static IP, you're going to want to add the line I mentioned before to your rc.conf. Make sure you change the address and device appropriately! Also, I'm not sure if FreeBSD uses a NIC configuration file, as I've never ahd to mess much with it. According to the documentation http://www.freebsd.org/doc/en_US.ISO...ork-setup.html, the configuration of the network is done in /etc/rc.conf
Hi
It might be that someone configured the system to setup the NIC via a call to ifconfig from some obscure location in a rc script. You could grep /etc/rc.d (or even /etc) for 'ifconfig' or the IP of the machine. If it's true, that's sure a creepy way to setup a connection .
Regards
Wojtek
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.