|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD's Ifconfig for WEP
I am new to BSD and I would like very much to run, use, and get good with FreeBSD as well as OpenBSD. But my problem is connecting to the internet!!! My problem is kinda like this..... I cant fully configure my wireless card to connect to the internet... When I connect in Linux... I just type in the WEP key and Im connected!! But I cant do it with ifconfig when using BSD!!! I have tried "ifconfig ral0 up", "Ifconfig ral0 nwid xxxxxxx nwkey xxxxxxxx" and got nothing!!! Wut am I not doing or doing wrong!!???
If there is a post thats for this I welcome it, but if it does not help I will let you know... Thanks!!! TZ |
|
|||
I recommend using wpa_supplicant for wep and roaming as well as wpa. Simply create your /etc/wpa_supplicant.conf file and put ifconfig_ral0="WPA DHCP" in /etc/rc.conf. Here's a basic one.
Quote:
|
|
||||
If there's no problem with your AP, or with your WEP key (length, format, etc), or other matters (confirm that other machines can associate with the AP and go out onto the net), then connecting a client via a single line in /etc/rc.conf should be straightforward:
On a client machine running FreeBSD 7.0-RELEASE-p1, associated with an OpenBSD 4.3-current AP handing out IP addreses via DHCP: Code:
ifconfig_ral0="ssid <your SSID here> wepmode on wepkey <your WEP key here> weptxkey 1 DHCP" Code:
[root@blah ~]# ifconfig ral0 ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:16:b6:9c:55:41 inet 172.16.0.4 netmask 0xffffff00 broadcast 172.16.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status: associated ssid xxxxxxxxxxxx channel 1 (2412 Mhz 11g) bssid 00:16:b6:9c:58:ba authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpower 50 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS [root@blah ~]#
__________________
BSD, Eggdrop and the random Blah |
|
||||
When in doubt, consult the Handbook.
|
|
|||
ok...I havent tryed "weptxkey 1 DHCP", I will try that, and I get it I will let you all know.. thanks!! Also, I wanted to know the same for OpenBSD because its "ifconfig" is kinda set up different.... any way... I wonder if this will connect even with a 64/128-bit ASCII wep key?
|
|
|||
yeah, I wanna try ifconfig first though...
|
|
||||
Quote:
ral(4) On an OpenBSD client, you'd do: Quote:
__________________
BSD, Eggdrop and the random Blah Last edited by mish; 12th June 2008 at 01:15 AM. |
|
|||
so I put "\dhcp NONE NONE NONE" on the same line as the ifconfig command?
|
|
||||
No. That was a typo. You need two lines.
__________________
BSD, Eggdrop and the random Blah |
|
|||
ok thanks!!! .... do you think its better to install both with the FTP option?? or with my situation, is that impossible?
|
|
|||
I tried it on BSD Anywhere, and it was sayin "active", but I couldnt connect to a site on firefox!!! please help!!!
|
|
||||
Quote:
Quote:
Also, posting the output of ifconfig ral0 and netstat -rn will help.
__________________
BSD, Eggdrop and the random Blah |
|
|||
when you start the FreeBSD installation, it asks if you want to install from the ftp site, or cd/dvd. it has other options... but that was what I was talkin bout...
|
|
||||
It will depend on how fast your connection to the net is. All the install methods are fine, but most users here will probably chime in and say you'd better get the release .iso files.
In any case, what you're asking should be the topic of a separate, new thread, not this one. Or you can search the forums and look for one that's close to what you're asking.
__________________
BSD, Eggdrop and the random Blah |
|
|||
ok... so which bsd would be best if I wanted to do stuff like surf the net, play with Beryl, use Fluxbox, and stuff like that? just asking
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ifconfig: SIOCAIFADDR: File exists | zomo | OpenBSD General | 7 | 23rd December 2008 10:20 PM |
need some basic help on ifconfig | daemon-dd | FreeBSD General | 4 | 29th July 2008 03:21 PM |
hard lock on ifconfig wi0 up | reuteler | OpenBSD General | 11 | 25th May 2008 06:22 PM |
ifconfig problem | ichigo | OpenBSD General | 3 | 20th May 2008 10:59 PM |