DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd November 2019
c-c-c-c c-c-c-c is offline
New User
 
Join Date: Nov 2019
Posts: 6
Default OpenBSD 6.6, no route to host, dhcp no link.. sleeping

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.


Code:
nwid hotspot wpakey password chan up wpaprotos wpa2 

inet 10.220.1.156 255.255.255.0
This then results in ifconfig outputting the following,
I have also tried alternating between using inet flag
and dhcp but neither has been successful.


Code:
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

But this is where I get stuck, dhcp still timeouts and gives me
the error message, I'm able to ping 10.220.1.156 but no other
ip from the router.
Pinging any other address give me a no route to host error.
This make me believe the issues is to be somehow solved
with the route command, "route show" outputs this.

Code:
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/Proble...I_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 that seems to be a dead end.

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.

And my other machines running linux outputs the following when
running netstat -r, its different from what route show gives on the
OpenBSD machine but I cant tell what is what.
Im not well acquainted enough with the route command to
configure the routing of my OpenBSD machine to mimick
that of my others, if thats even what is needed in this situation.

Code:
$ netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         10.220.1.1      0.0.0.0         UG        0 0          0 wlan0
10.220.1.0      0.0.0.0         255.255.255.0   U         0 0          0 wlan0
I also 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
Reply With Quote
 

Tags
dhcp, intel, thinkpad, wlan


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iwm0: no link ........... sleeping pieguy OpenBSD General 19 29th October 2016 10:13 PM
No Route to Host rtwingfield FreeBSD Installation and Upgrading 9 25th May 2015 03:05 AM
No link....... sleeping illiterate OpenBSD General 6 26th February 2013 05:12 PM
dhclient -> urtw0: no link ....... sleeping rma OpenBSD Installation and Upgrading 10 20th August 2010 03:25 AM
zyd0: no link ........... sleeping kallistoteles OpenBSD Installation and Upgrading 3 25th June 2010 02:38 PM


All times are GMT. The time now is 07:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick