On 21/11/2019 11:53, Getz Mikalsen wrote:
First time posting on this mailing list but hopefully
my post adheres to the Netiquette and that I am posting
this to the appropriate list

I've been trying to get the wifi working on my
IBM thinkpad 240x for a few days now but I seem to have
gotten stuck.

I'm using an Intel 2100 MiniPcie card with the ipw firmware
(https://man.openbsd.org/ipw).
I previously tried using a Intel 2915ABG with the iwi firmware
but kept getting firmware errors so I replaced it with the 2100.

I believe I have managed to connect to my WPA2 secured network
(judging by the output of my ifconfig) but im not able to get
any further. And running DHCP (dhclient ipw0 or sh /etc/netstart)
keeps outputting the same timeout message, No link......sleeping
No further error messages than that.

I have configured my ifconfig through the /etc/hostname.ipw0
file as advised in the man page, my config is as follows.

///
nwid hotspot wpakey password chan up wpaprotos wpa2

inet 10.220.1.156 255.255.255.0
dhcp
///

You're setting a fixed ip address as well as dhcp. You can't have both in hostname.ipw0.




This then results in ifconfig outputting the following

///
ipw0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
     lladdr 00:0c:f1:24:1c:2a
     index 1 priority 4 llprio 3
     groups: wlan
     media: IEEE802.11 autoselect (DS11 mode 11b)
     status: active
     ieee80211: nwid hotspot chan 7 bssid 30:23:03:1a:4c:7a -18dBm wpakey 
wpaprotos wpa2 wpaakms psk wpaciphers ccmp
wpagroupcipher ccmp
     inet 10.220.1.156 netmask 0xffffff00 broadcast 10.220.1.255
///
Disregard anything coming from a FreeBSD forum, the config files don't work the same. rc.conf should never be touched, only rc.conf.local, and OpenBSD doesn't configure the network via that file.
I have also added this to my rc.conf as advised here
https://forums.freebsd.org/threads/solved-re0-no-link-giving-up-my-card-driver-or-dhcp-server-problem.4566/

///
ifconfig_ipw0="DCHP"
///
This is where I get stuck, dhcp still timeouts and gives me
the error message, im able to ping 10.220.1.156 but no other
ip from the router, this make me believe the issues is to be
solved with the route command, "route show" outputs this.

///
Internet
         Destination        Gateway            Flags    Refs      Use    Mtu  
Interface
         10.220.1/24        10.220.1.156       Cn         0        0     -     
8 ipw0
         10.220.1.156       00:0c:f1:24:1c:2a  UHLl       0        0     -     
1 ipw0
         10.220.1.255       10.220.1.156       Hb         0        0     -     
1 ipw0
///

What is known that the network is named "hotspot"
passworded with "password", its gateway is "10.220.1.1"

I am also aware of certain IBM thinkpads having issues with
unauthorized MiniPCI cards as brought up here
http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card
but this is only a BIOS whitelist and the combo im using
has been comfirmed to be working on the thinkpads forum and the
BIOS accepts the card.

So where do I go now, is the routing correct?
I dont know much about ip routing and gateways, maybe someone
knows some good resources where I can learn so I wont have
to come asking for help again.

I read the following and thought I might be having a similar
issue but I know too little about internet configurations
to make much of it.
https://serverfault.com/a/581162

As for it being incompatible or not, I can't tell, I'm not a ThinkPad specialist.


Cheers,


Noth

Reply via email to