1c58e
![]() |
|
|
|
|
|||||||
| Networking Network related discussions (including general TCP/IP stuff, routing, etc). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
newbie here,
did a new install of FreeBSD 9 on older dell inspiron, I need to use an open wifi connection to get networking up and running, I connect to it all the time but I don't know the person. It's an open network daily on my available networks list. Install said it completed fine but networking spit out Code:
DHCP failed! unable to start wpa_supplicant # ifconfig gives me all the interfaces, # dhclient iwi0 gives "no link"... # dhclient xl0 gives "no link"... # vi /etc/wpa_supplicant.conf gives: Code:
ctrl_interface=/var/run/wpa_supplicant eapol_version=2 ap_scan=1 fast_reauth=1 # vi /etc/rc.d.confgives "new file" and is empty I did other things as well looking around(trying to) from re: freebsd handbook and installation guide(s) but those things all seem to assume I have my own initial connection which I don't (this is the same for posts I find in forums). I don't think and hope I haven't screwed anything up. Please note I am posting this from another box so can't paste from command line and will have to get messages here and try them on the FreeBSD box. Any help is greatly appreciated as is your patience with my ignorance. \anti/ Last edited by SirDice; December 10th, 2012 at 11:21. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043 |
|
#2
|
|||
|
|||
|
From the iwi man page:
Code:
ifconfig wlan0 create wlandev iwi0 ssid my_net up then: Code:
dhclient wlan0 Last edited by ChalkBored; December 10th, 2012 at 21:58. Reason: Changed wlan to wlan0, it doesn't solve your current problem, but will solve dhclient not working right when you do get a connection. |
| The Following User Says Thank You to ChalkBored For This Useful Post: | ||
antiprop (December 9th, 2012) | ||
|
#3
|
|||
|
|||
|
I have an "accidentally" open WiFi network that is also "accidentally" sslstripping those who need free internet.
Just saying. |
| The Following 3 Users Say Thank You to bbzz For This Useful Post: | ||
|
#4
|
|||
|
|||
|
Code:
ifconfig wlan create wlandev iwi0 ssid my_net up Code:
Unmatched'. Code:
dhclient wlan Code:
ifconfig: interface wlan does not exist Code:
ls /usr/sbin wlandebug wlconfig wpa_cli wpa_passphrase wpa_supplicant I am going back to man iwi(4) to see if I can find something to slap my dumbass upside the head and solve... I know the wireless and networking work(ed) on the bo older dell inspiron laptop) because I had various linux distros installed on it and they all went online fine...thanks for any additional help and knowledge \antiprop/ |
|
#5
|
||||
|
||||
|
That's because it's /etc/rc.conf.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
antiprop (December 10th, 2012) | ||
|
#6
|
||||
|
||||
|
You made a typo and added a ' somewhere.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
antiprop (December 10th, 2012) | ||
|
#7
|
|||
|
|||
|
I double/triple checked it and retyped as well. Will do it(try it) again.
Thanks for your patience and responses. |
|
#8
|
|||
|
|||
|
I think you need to use wlan0 instead of just wlan.
Code:
ifconfig wlan0 create wlandev iwi0 ssid my_net up |
| The Following User Says Thank You to kpa For This Useful Post: | ||
antiprop (December 11th, 2012) | ||
|
#9
|
|||
|
|||
|
That's what it is in most linux distros. When I had it (FreeBSD 9) installed before (before I did a re(fresh)-install) it didn't like it and I have learned FreeBSD boots into csh until you load bash, zsh, others into it. I will try on this install again thanks.
\antiprop/ |
|
#10
|
|||
|
|||
|
Quote:
I changed wlan to wlan0 in my previous post, since the part with dhclient is wrong because of that. There isn't an apostrophe in the SSID name, is there? You might have to quote the whole name or escape the apostrophe with a backslash \ . Also, try: Code:
ifconfig wlan0 create wlandev iwi0 then you can try joining the network with: Code:
ifconfig wlan0 ssid my_net up This will at least narrow down the problem to either creating wlan0 or joining the network. |
| The Following User Says Thank You to ChalkBored For This Useful Post: | ||
antiprop (December 11th, 2012) | ||
|
#11
|
|||
|
|||
|
Ok I will try to respond to posts in order and thanks...
Quoting dice: Quote:
# vi /etc/rc.confgives: Code:
sendmail_enable="NONE" hostid_enable="NO" # ifconfig wlan create wlandev iwi0 ssid my_net upgives: Code:
iwi_bss[/FILE]: could not load firmware image, error 17 iwi0[/FILE]: could not load firmware ifconfig[/FILE]: SI0CIFCREATE2: Input/output error # ifconfig wlan0(wlan) create wlandev iwi0gives: Code:
iwi_bss: could not load firmware image, error 17 iwi0: could not load firmware ifconfig: SI0CIFCREATE2: Input/output error # view /usr/share/doc/legal/intel_iwi/.iwi_bssgives: Code:
empty new file read only Thanks for the patience and help no idea what's making this so difficult? Though likely me being a dumbass about some little thing... Last edited by SirDice; December 12th, 2012 at 09:15. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043 |
|
#12
|
|||
|
|||
|
iwi needs
Code:
if_iwi_load="YES" legal.intel_iwi.license_ack=1 |
| The Following User Says Thank You to ChalkBored For This Useful Post: | ||
antiprop (December 12th, 2012) | ||
|
#13
|
|||
|
|||
|
no loader.conf in /boot
# vi /boot/loader.conf gives: Code:
new file and is empty that doesn't sound right at all??? /boot has: Code:
loader loader.4th loader.help loader.rc |
|
#14
|
||||
|
||||
|
Nope, it's correct. The file doesn't exist by default. Just create it.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
antiprop (December 12th, 2012) | ||
|
#15
|
|||
|
|||
|
ok...
# Code:
vi /boot/loader.conf i found a page recommending to do this to another that had the same problem... mount -rw / vi /boot/loader.conf hit 'i' to enter interactive or insert mode make any desired changes, hit 'esc' to get out of interactive mode and then :wq to write and quit vi then reboot i did this both Code:
mount -rw/ Code:
mount -rw / neither of them changed the Read-only nor did wq! and i'm root... then i saw this from someone: "Error : /boot/loader.conf: Read-only file system." how to make it writeable ? after edit via Code:
vi /boot/loader.conf Code:
vfs.zfs.prefetch_disable="0" i did this with the single quotes and without to be sure and nothing it is still only readable ! does nothing... thanks... \antiprop/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Non-connecting WiFi network | AJ-BSD | Networking | 9 | December 9th, 2012 20:12 |
| WiFi network without WPA | inject | Networking | 6 | May 3rd, 2011 15:48 |
| Broadcom open-sources its WiFi drivers | everypot | Networking | 1 | September 9th, 2010 22:38 |
| Best way to automate connecting to a wifi network | kpedersen | Networking | 5 | October 20th, 2009 12:11 |
| Forward map FAILED: Has an A record but no DHCID, not mine. | Dryanta | Web & Network Services | 1 | May 7th, 2009 19:32 |