![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
[Noob questions, volume I]
New openbsd user asking for answers .. [synopsys] Im the kind of guy who has been using windows and linux in multiboot for several years, now trying to experience openbsd.. [but..why?] several reasons, which convinced me to enjoy new experience with openbsd : a/ the challenge motivation, of a new system b/ the reputation of a system whom the coca cola recipe looks like less protected than De Raadt servers (you can also do this comparison with the nuclear codes) c/ the stability, reliability, simplicift, effiency, and beauty/purety of code ⇒ finally, the purpose is to have a paradox : going toward close as possible of usuals practices I have on linuxmint (very intuitive, simple and flexible) with openbsd (focused on lightweight, stability, and lot of others qualities…) differents steps of my adventures : a/ installation with partition and slices for / /usr etc.. was very difficult to understand b/ drivers, almost solved with fw_update c/ commands, term, are very different from nux (but I deal with it) what convinced me to go ahead : a/ to boast of regarding non-IT persons b/ want to show that obsd is not only for cyberdefence afficianos/pros or for servers only c/ to remind to people that free software and OSS is not only linux and penguins, but they have cousins there.. my several wonders.. a/ my wifi doesnt works, with an android AP or a normal AP, it just doesnt connect. With android usb tethering it works fine. However my intel wlan nic is well detected. With android hotspot it’s geting an IP but impossible to ping the gw. With direct to AP it just doesnt get any IP, ifconfig shows no network. But wireless essid and key are well recorded in the hostname.iwn0 and my ifconfig command. You can remark that this wifi card works very well with windows and linux mint, but doesnt with openbsd, even after an fw_update. /sbin/ifconfig iwn0 nwid 'iAndros 123' wpakey 'XXX' /sbin/dhclient iwn0 then it obtain an IP, but get this… # ping 192.168.143.1 PING 192.168.143.1 (192.168.143.1): 56 data bytes ping: sendmsg: Device busy ping: wrote 192.168.143.1 64 chars, ret=-1 ^C and no /etc/mygateway file… B/ encrypt home partition was a bit hard, but I did it.. my wonders, would be : in case of disk damaged, how to decrypt on another computer ? Or in case of I want to change the password, do I have to wipe / recreate the whole /home ? C/ is there like a whole group of needed software, as « main or giant ones » such as firefox/falkon/vlc libreoffice etc. but also some « tiny tool » recommended, such as timer, notepad, schedule.. whom are recommended software ? Plus virtual keyboard... D/ I tried windowmaker which looks very good. .also wondering, it’s looks a lot like nextstep, is it possible to have like a macosx menubar, unified, at the top of the screen ? E/ F/ does the « linux layer or support » really over on openbsd ? Heard an article few month ago, even if I discover puffy I had few closed software running on linux (but not bsd) … g/ is it hard to port an OSS to oepnbsd ? H/ I saw third part repositories, how does it works ? Is it true that some devs sells OSS they ported to openbsd, regarding differents versions ? That’s very different regarding linxu where the software version is forced to match with the distro/os release.. I/ how could I access my internal hdd partitions (ntfs, ext4..) or usb keys ? J/ to be continued, I might have hours of research/work regarding this system, hope the skills and proudness too.. I wrote that on obsd, means somewhere I started the path.. Probe URL: https://bsd-hardware.info/?probe=42eb986a58 dmesg https://www.3hg.fr/CHATONS/Pastebin/?b86...PBTrCuqdkf https://pastebin.alolise.org/?f1836b1c71...XHutfTW7NZ log/messages: https://www.3hg.fr/CHATONS/Pastebin/?a18...sRvGF8Vvr3 https://pastebin.alolise.org/?5424a8d0a6...XcVQ5peJTD third part question : do you think openbsd could run on embedded general public appliances such as tplink routers ? |
|
||||
![]()
Hello, and welcome!
|
|
||||||||
![]()
thank you!
I thank you vm for the time taken to answer my questions ![]() |
|
|||
![]() Quote:
I've tried several things... but tonight I just moved /etc/hostname.trunk (I guess I had this trunk from the isotop project for laptops initiated on the following page : https://si3t.ch/Logiciel-libre/OpenB...t-install.html ) to /root/ to make it inactive. After a reboot, the ifconfig shows the iwn0 not concerned by trunk anymore. however, even in /etc/hostname.iwn0 or in my created wifi script : ifconfig iwn0 down ifconfig iwn0 up ifconfig iwn0 nwid "very long essid" wpakey "mylongpassphrasewithorwithoutspaces" dhclient iwn0 => means two different (conflicted?) conf files? doesnt connects the wifi to it. I just want to ensure, does the AP could be incompatible with the openbsd laptop? means just the android AP can be compatible, not the "common AP" router also, does add /sbin/ifconfig could make mistakes if it's not just "ifconfig"? |
|
||||
![]()
You were following a third-party guide that recommended using trunk(4), in order to have both a wired NIC (em0, in their example) and a wireless NIC (iwm0, in their example) share the same IP address, assigned via the trunk. In that guide, neither the wired nor WiFi NIC are configured with IP addresses. The trunk is configured with "inet6 autoconf" and with "dhcp" which is short for "inet autoconf", so the guide shows a correct trunk use-case. However, your workstation does not have a wired NIC. A trunk(4) solution offers you no value, and has only provided additional opportunity to mis-configure network settings.
IPv4 autoconfiguration changed significantly with OpenBSD 7.0-release. The dhclient(8) utility is still available but is not normally used. Instead, the release came with a new service, dhcpleased(8), which automatically looks for NICs provisioned for IPv4 autoconfiguration. I cannot tell from the information provided so far why your WiFi network is not connecting. All that I can see is your ifconfig(8) output. If dhcpleased(8) has not been disabled, it would discover the NIC has IPv4 autoconfiguration provisioned as one of its flags. But it will not send DHCP packets until the status changed from "no network" to "active". Reposted from your pastebin here, with your MAC address redacted: Code:
iwn0: flags=808943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 lladdr <redacted> index 1 priority 4 llprio 3 trunk: trunkdev trunk0 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "WIFI ESSID" wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp |
|
||||
![]()
Oh, yes.
# ifconfig iwn0 scan will show you broadcast SSIDs, if the NIC and driver are working. If this doesn't work, it is likely because the 3rd party firmware has not been installed. You can download the firmware to a USB stick from another OS and install it with fw_update(8)'s -p option.
|
|
|||
![]() Quote:
thank you for answers!! https://www.3hg.fr/CHATONS/Pastebin/...f12uumtobCGMgg https://pastebin.alolise.org/?7a207b...AQ3ziTfqAQDbvp |
|
|||
![]() Quote:
how to simply configure the wifi? could it be a problem from the AP? why this same AP works fine with wind/mint? is there any clue in dmesg or log/messages? I can't use the laptop withut the wifi nic... pleaase ![]() |
|
||||
![]()
Temporarily set your AP to be an open, public network.
|
|
|||
![]() Quote:
thank you again for helping, just try with the ifconfig iwn0 nwid "SFR WiFi FON" an opened network it worked immediately, no dhclient to launch, IP has been immediately obtained so I don't know if it's a long essid name or simpy the key, because obsd is the only one to not be able to connect to it. Can browse the portal. Im wondering abut how to connect it to internet without usb device.. edit: tried with "bbox-something" ap, with a long key too, but with no space, it works too. means obsd have a problem with long essid with spaces ? Last edited by hd77; 16th January 2022 at 02:03 AM. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BSD noob asking for some tips | _patata | OpenBSD General | 6 | 26th September 2021 02:07 AM |
Noob trying to get synaptics to work | bloodnok | OpenBSD General | 6 | 3rd February 2020 07:30 PM |
Hi! Old man noob here | Syrus | OpenBSD Installation and Upgrading | 2 | 3rd March 2014 02:37 AM |
Noob | Gargamelle | Off-Topic | 4 | 16th December 2010 11:39 PM |
OpenBSD Noob Security | Noobification | OpenBSD Security | 2 | 24th October 2010 08:22 PM |