Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 11:00:20 -0500
From:      Don Hinton <don.hinton@vanderbilt.edu>
To:        freebsd-questions@freebsd.org
Cc:        andreas Sotirakopoulos <menwn@yahoo.co.uk>
Subject:   Re: Wireless internet connetction issues
Message-ID:  <200605281100.21662.don.hinton@vanderbilt.edu>
In-Reply-To: <200605281439.40203.menwn@yahoo.co.uk>
References:  <200605281439.40203.menwn@yahoo.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> =
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 <don.hinton at vanderbilt.edu>      tel: 615.480.5667
ISIS, Vanderbilt University                  skype: donhinton
http://people.vanderbilt.edu/~don.hinton/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605281100.21662.don.hinton>