|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
A Newbie installation adventure targetting an old ibook G3
Hi Daemon hackers !
just a beginner's installation I'd like to share here : I took off an airport card from a broken titanium powerbook .. put it inside my old and lovely ibook G3 (Dual USB) .. insert Openbsd.5.0 macppc CD .. booted .. chose MBR instead of HFS as suggested since I m using the whole disk for OpenBSD .. a post-install tweak : rebooting on openfirmware I typed : setenv boot-device hd:,ofwboot /bsd reset all everything's fine except : wi0 : no link .. sleeping .. so I had to use gem0 so , 1- how to solve the wi0 problem ? (the openfirmware driver is already installed ) 2- how to set X the correct way ? two lines one vertical left and the other horizontal low cross the already small screen .. by the way , when I installed openbsd 4.8 on this very ibook , this didn't happen and X nicely fills the screen .. truly , I don't want to mess my ibook on a far-fetched TigerOSX which doesn't support vidalia while compelling me to use old opera/old firefox/old everything .. to be frank , I've never been as happier as when I met *BSD .. still much on the road to learn and grok .. ps . the airport card worked well when I installed MacOsX 10.4 on the ibook Last edited by daemonfowl; 26th January 2012 at 02:32 PM. |
|
|||
Quote:
|
|
|||
yes I have created hostname.wi0 with dhcp option .. wireless access point is open ..
maybe I need to change the line into : dhcp NONE NONE NONE .. but no change : no link ........................ sleeping |
|
|||
Quote:
http://www.daemonforums.org/showthread.php?t=596 Is the access point connected to providing IP addresses through DHCP? What is the exact contents of /etc/hostname.wi0? |
|
|||
For others coming late to this thread, dmesg(8) output for this iBook can be found at the following:
http://www.daemonforums.org/showpost...62&postcount=3 |
|
|||
Quote:
I connect via a non secure router : using dhcp * acer aspire > wpi0 working * ibook > gem0 working .. wi0 not working .. |
|
|||
If wi(4) were a wired Ethernet interface, this might work, but it is not; wi(4) is a wireless interface. Please study the Examples of the manpage as suggested before to see how this particular interface can be correctly configured. From the manpage, it appears that this card only supports WEP, but the values still need to be explicitly provided.
Likewise, by writing configuration information to /etc/hostname.wi0, you will be activating your wireless interface every time upon boot. Many people prefer to initialize their wireless interface manually, so they know when they are exposed/connected to wireless networks. |
|
|||
I blindly followed example 0 suggested in wi manpage , that is , I set :
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11 in /etc/hostname.wi0 'ifconfig -a' output : Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33196 priority: 0 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:30:65:20:44:96 priority: 4 groups: wlan media: IEEE802.11 autoselect (DS11) status: no network ieee80211: nwid IBSS chan 11 bssid 44:44:44:44:44:44 nwkey <not displayed> -12dBm (auto) inet6 fe80::230:65ff:fe20:4496%wi0 prefixlen 64 scopeid 0x1 gem0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:03:93:45:ca:e2 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::203:93ff:fe45:cae2%gem0 prefixlen 64 scopeid 0x2 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 enc0: flags=0<> priority: 0 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33196 priority: 0 groups: pflog |
|
|||
Quote:
daemonfowl, I had asked you for the exact contents of /etc/hostname.wi0 before. I don't know if you're being inconvenienced to provide necessary information, but the word "exact" is quite precise. Yes, it takes time to craft messages with all details articulated, but providing support online takes time on our end too. It would be good if you respected the time of those in which you seek solutions -- especially if you want the dialogue to continue. Quote:
Does this access point also act as a DHCP server? |
|
|||
Hi Ocicat !
the exact content of /etc/hostname.wi0 is : dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11 and for the router (192.168.1.1) I set the same value as preshared key which is : 0x1deadbeef1 last Q , yes , the router is set up for dhcp .. I once avoided wpa because the wretched conceptronic router often happens to devalidate and unset the wpa option into 'none' .. I set it to factory settings many times but to no avail .. that is another issue .. so in the end I could not start wi0 working neither with wpa/wep nor open/insecurely .. Allow me , Ocicat , to explain a point : exposing a variety of issues at one time is not and may not be interpreted as disrespect on my behalf .. on the contrary it is full engagement and interest and I am trying to share what I have had .. it is a newbie errand .. and you -nice folk- are not obliged to answer back for each issue nor provide solution .. most of the time asking back or posting directive links may help much more than actually solving .. learning is a process and should never be a product .. Friend Ocicat .. I'll go on using gem0 for the ibook .. at least I have my favorite OS on it .. instead of former far-fetched OSX 10.4 .. what is amazing about OpenSD is that , apart from security and stability , it does better than most of those distros that claim to be lightweight and low-resource OSes.. namely slitaz/lubuntu/wattos/ crunchbang .. to name but a few .. I'll continue using and learning the OpenBSD Giant .. it is an ultimate joy .. Hi Jggimi ! thanks for clarification .. I tried it open first but failed .. no link ....... sleeping Last edited by daemonfowl; 29th January 2012 at 12:28 AM. |
|
||||
OK. Let's start with problems in your hostname.wi0
1) You are defining a WEP key in hexadecimal (base 16 notation), as it begins with 0x. Your router may assume the string you are using is ASCII, and may not understand the text you entered in the form to be a hexadecimal (binary) key. Because if you are using hex on OpenBSD, and ASCII on your router, the keys will never match. If you must use WEP, start with something simple, in standard text, such as "daemonfowl" so that the keys will match. 2) You mention the phrase "pre-shared key" in your last post. This is a term used with WPA and WPA2, not typically with WEP. (WEP does not have the option of other forms of key management, while WPA/WPA2 do.) Double check your router, and be sure it is NOT configured for WPA or WPA2. If it is, the wi(4) driver will not communicate with it. 3) Start simple. I recommend you turn off all encryption. Configure an open network, with no security. No WPA, no WEP, no nothing. See if you can get these to communicate without encryption. Once you are successful, then you can determine what went wrong with WEP, one step at a time. |
|
|||
Thank you Jggimi , I am learning from your posts ..
sad fact , I tried all ways to no avail .. Ibook seems happy with gem0 .. be it so for the time .. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PF Configuration for newbie | slakic | OpenBSD Security | 1 | 20th August 2009 02:35 PM |
What makes a perfect newbie? | jggimi | Feedback and Suggestions | 32 | 19th October 2008 02:58 AM |
NetBSD + old laptop adventure | anomie | NetBSD General | 4 | 27th June 2008 01:57 PM |
Newbie NAT problem | TiN-MAN | FreeBSD Installation and Upgrading | 2 | 26th June 2008 06:42 AM |
Newbie - adventure in gateway world | Johnny2Bad | FreeBSD General | 1 | 17th May 2008 10:22 AM |