Date: Tue, 04 Sep 2007 20:15:49 +0330 From: "Bahman M." <b.movaqar@adempiere.org> To: Terrence Wilson <tjw43@drexel.edu> Cc: freebsd-questions@freebsd.org Subject: Re: troubling configuring wireless nic Message-ID: <46DD8BBD.1030300@adempiere.org> In-Reply-To: <2460865.1188922714431.JavaMail.tjw43@drexel.edu> References: <2460865.1188922714431.JavaMail.tjw43@drexel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Terrence Wilson wrote: > This is my first time experimenting with FreeBSD and UNIX-based systems > in general. I am trying to configure a wireless nic on my laptop, which > is a windows-free bsd dual boot system. > > At home, I can access the internet in Windows through a router which > also connects my destop (a windows xp machine) to my internet cable > connection. When in FreeBSD, I run ifconfig and it indicates that the > nic is running and gives its inet address, one which is different from > the ip address given in windows. When I ping the address given by > ifconfig, it shows a connection. When I ping the the gateway given for > the windows machines (the ip address of the router) I get nothing in > FreedBSD. > > So, I edited the /etc/hosts file. I entered the windows ip address for > the router into the /etc/hosts file as the local host. Then I edited > /etc/rc.config file to assign the ip address given in windows to the > inet address of the nic. When I save the files and reboot, I get this > message which repeats itself several times: > "login : Sep 4 11:24:49 sm--mta[561]: NOQUEUE : SYSERR(root): > opendaemonsocket: daemon0: cannot bind: can't assign requested address > Sep 4 11:29:37 sm-mta[561]: daemon Daemon0: problem creating SMTP > socket" > That's done inside /etc/rc.conf: defaultrouter="xxx.xxx.xxx.xxx" hostname="YOUR_HOST_NAME" ifconfig_vr0="inet yyy.yyy.yyy.yyy netmask 255.255.255.0" Note: vr0 is the NIC name on my machine. Replace it with your own. To determine the name servers that you use, edit /etc/resolv.conf: nameserver zzz.zzz.zzz.zzz > After this message flashes at boot up, I login as root and try to check > the etc/rc.config file but the system responds: "Permission denied". > when I run vi on /etc/config, it opens as a blank file. > Obvious, as there is no /etc/config; you should edit /etc/rc.conf instead. Bahman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46DD8BBD.1030300>