On Wed, Mar 20, 2024 at 2:17 PM Patcher <patchwriter@fedora.email> wrote:
> Hello, > > I am having problem connecting to internet in my openbsd desktop. During > installation I was unable to connect to my mobile hotspot (don't have > wifi). I didn't pay much attention to it and continued to installation. > After installation I went to install firmware for my wifi card (cheap wifi > dongle using mtw firmware) using android usb tethring. After doing a > fw_update, I tried to connect to mobile hotspot using ifconfig utility as > stated in faq I did ifconfig mtw0 nwid xyz wpakey xyz and ran the command. > After that I did ifconfig mtw0 inet autoconf. I tried to ping openbsd.org > but it din't worked. Here are the outputs of dmesg, netstat -rn and > ifconfig. Any help will be appreciated. > > [...] > > mtw0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu > 1500 > lladdr 00:e0:2d:4c:73:7f > index 3 priority 4 llprio 3 > groups: wlan > media: IEEE802.11 autoselect (DS1 mode 11g) > status: active > ieee80211: join net chan 1 bssid ea:ed:fb:e9:27:74 -37dBm wpakey > wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp > I don't see an "inet" line showing that you have an IP address assigned on this interface. Do you have a DHCP server you are expecting to give you an address? If so it hasn't. Also make sure dhcpleased(8) is running. It should be already, but it doesn't hurt to check. -ken