From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 20:10:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CC116A418 for ; Tue, 4 Sep 2007 20:10:39 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from kedah.mschosting.com (kedah.mschosting.com [202.75.42.90]) by mx1.freebsd.org (Postfix) with ESMTP id 5911113C474 for ; Tue, 4 Sep 2007 20:10:38 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from [87.107.63.161] (port=56405) by kedah.mschosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1ISbT7-00051K-Gs; Wed, 05 Sep 2007 00:41:39 +0800 Message-ID: <46DD8BBD.1030300@adempiere.org> Date: Tue, 04 Sep 2007 20:15:49 +0330 From: "Bahman M." User-Agent: Thunderbird 2.0.0.6 (X11/20070904) MIME-Version: 1.0 To: Terrence Wilson References: <2460865.1188922714431.JavaMail.tjw43@drexel.edu> In-Reply-To: <2460865.1188922714431.JavaMail.tjw43@drexel.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kedah.mschosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - adempiere.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: troubling configuring wireless nic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 20:10:39 -0000 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