From owner-freebsd-questions@FreeBSD.ORG Sun May 28 16:00:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E64C16C2CE for ; Sun, 28 May 2006 16:00:35 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from mailgate03.smtp.vanderbilt.edu (mailgate03.smtp.Vanderbilt.Edu [129.59.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39E5543D72 for ; Sun, 28 May 2006 16:00:27 +0000 (GMT) (envelope-from don.hinton@vanderbilt.edu) Received: from smtp10.smtp.vanderbilt.edu (smtp10.smtp.Vanderbilt.Edu [129.59.1.11]) by mailgate03.smtp.vanderbilt.edu (8.13.6/8.13.6) with ESMTP id k4SG0QMC011887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 28 May 2006 11:00:26 -0500 Received: from smtp10.smtp.vanderbilt.edu (localhost [127.0.0.1]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9C+d3.7.9) with ESMTP id k4SG0RXU017200; Sun, 28 May 2006 11:00:27 -0500 (CDT) Received: from [192.168.1.113] (c-69-180-220-12.hsd1.tn.comcast.net [69.180.220.12]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9.3B+d3.7.9) with ESMTP id k4SG0QPK017197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 May 2006 11:00:26 -0500 (CDT) From: Don Hinton Organization: ISIS To: freebsd-questions@freebsd.org Date: Sun, 28 May 2006 11:00:20 -0500 User-Agent: KMail/1.9.1 References: <200605281439.40203.menwn@yahoo.co.uk> In-Reply-To: <200605281439.40203.menwn@yahoo.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605281100.21662.don.hinton@vanderbilt.edu> X-Proofpoint-Virus-Version: vendor=fsecure engine=4.64.4171:2.3.9, 1.2.33, 4.0.164 definitions=2006-05-26_02:2006-05-24, 2006-05-26, 2006-05-26 signatures=0 X-PPS: No, score=0 Cc: andreas Sotirakopoulos Subject: Re: Wireless internet connetction issues 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: Sun, 28 May 2006 16:00:39 -0000 Hi Andreas: On Sunday 28 May 2006 06:39, andreas Sotirakopoulos wrote: > Hi > I have(?) an internet connetction issue... I have a router connected to a > windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapt= er > (Lynksis WUSB54G). It works fine under windows and even if some times the > signal is lost usually it comes back by either moving the antenna a little > or by restarting the network configuration tool. In FreeBSD the adapter is > visible and uses ural0 driver. So if give the command > ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot conne= ct Instead of specifying your IP, try letting dhcp take care of this for you (= as=20 you do with kde below). Add the following to /etc/rc.conf: ifconfig_ural0=3D"DHCP" Then, ifconfig ural0 up will invoke dhcp to configure everything for you,=20 including your gateway and routing table. You may also want to look at you= r=20 routing table to see what's going on: # netstat -nr And flush the table if things go wrong with: # netstat flush I have to do this when moving from a wired connection to a wireless connect= ion=20 in order to reset my default route (gateway). Btw, I use FreeBSD 6.1-RELEA= SE=20 =2D- I found 5.4 wireless to be a bit flaky... hth... don > to the internet or "see" the windows box. > Now comes the strange part. if i press ifconfig ural0 i get: > > ural0: flags=3D108843 = mtu > 1500 > =A0 =A0 =A0 =A0 inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid= 0x1 > =A0 =A0 =A0 =A0 ether 00:12:17:81:88:1a > =A0 =A0 =A0 =A0 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36M= bps) > =A0 =A0 =A0 =A0 status: associated > =A0 =A0 =A0 =A0 ssid linksys channel 11 bssid 00:14:bf:cb:71:32 > =A0 =A0 =A0 =A0 authmode OPEN privacy OFF txpowmax 100 protmode CTS bintv= al 100 > but still i cannot connect to web pages or ping hosts. =A0I use KDE 3.5 a= nd i > do the following: > from the Kmenu ->settings->internet and Network-> Network settings and on > the card Network interfaces i see that there is only onde availiable > interface fxp0 dhcp Disabled Ethernet Network Device. I know that this is > my ethernet onboard card but if i choose Enable Interface i can connect to > the internet!!!!!! I assume that something runs in the background that > enables as well my wireless card but what is this? > So what's the problem you may ask... the problem is that in case that my > connection is lost i cannot do anything to get it back up. > > i =A0have tried dhclient ural0 and nothing happents same with ifconfig ur= al0 > up... > I have to reboot and do the procudure again and the problem is that it > fails often if i leave the net for a while... > > Any ideas? > thanks > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yaho= o! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D-=20 Don Hinton tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/