![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Two hours i trying to configure wireless interface without dhcp.
After adding two nameservers to /etc/resolv.conf i create /etc/mygate with ip address of router. With hostname.athn0 in etc nothing is happening. Code:
ifconfig athn0 inet 192.168.0.2 netmask 255.255.255.0 nwid myssid wpa wpapsk 'password' What I missed? |
|
||||
|
With the information provided, the only thing I see in error is the use of "wpapsk". You should be using "wpakey" instead, if you are using OpenBSD 5.0 as you mentioned in your earlier thread. Please see the ifconfig(8) man page. WPA key configuration has been simplified in OpenBSD within the last two years; "wpapsk" has not been used since 4.8. If you have been directed to use "wpapsk" you are using outdated information.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Here is a description of the change in WPA management from the OpenBSD Upgrade Guide for 4.9:
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Yes, OpenBSD 5.0 is on machine. I found that description and enable dhcp on router, after that i test first command and command with wpakey and both commands work.
But without dhcp when try to ping someone message is "no route to host". Quote:
|
|
|||
|
Quote:
Code:
$ sudo sh /etc/netstart Code:
$ route show -inet |
|
||||
|
Static configuration requires a default route, at minimum.
Create an /etc/mygate file, per FAQ 6.2.2 and the mygate(5) man page.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I found a mistake in /etc/hostname.if none -> NONE.
If someone needs the following command: Code:
inet machineip netmask NONE nwid ssid wpakey 'password' |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PF - ifconfig problem | ripp3r | OpenBSD Security | 5 | 12th December 2010 03:10 PM |
| need some basic help on ifconfig | daemon-dd | FreeBSD General | 4 | 29th July 2008 03:21 PM |
| FreeBSD's Ifconfig for WEP | tz24 | FreeBSD General | 15 | 13th June 2008 02:17 AM |
| 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 |