Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2017 18:05:29 +0100
From:      swjatoslaw gerus <milstar2@eml.cc>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: more etc/wpa* and rtc.conf-1 Ha! Here we have it. Why do you try to obtain an IP from a network card that has no cable in it?   ... System setting from graphics 
Message-ID:  <1483722329.1722103.839532641.693A12DA@webmail.messagingengine.com>
In-Reply-To: <20170106175823.4a09fb10.freebsd@edvax.de>
References:  <1483454858.4190708.835937993.300F2713@webmail.messagingengine.com> <20170103160657.GB43153@neutralgood.org> <20170103203023.b2396c95.freebsd@edvax.de> <861swjx6mv.fsf@WorkBox.homestead.org> <1483475176.874533.836320369.7B612577@webmail.messagingengine.com> <20170103214548.1d726a06.freebsd@edvax.de> <1483564140.1178887.837521761.7D1930C8@webmail.messagingengine.com> <20170105004510.44e54ddc.freebsd@edvax.de> <1483639288.1431717.838467905.64F6B28C@webmail.messagingengine.com> <20170105193234.37780fbb.freebsd@edvax.de> <1483644016.1447892.838558553.55CAAF02@webmail.messagingengine.com> <20170105204020.73eb19f1.freebsd@edvax.de> <1483648277.1462181.838634977.0F96BE41@webmail.messagingengine.com> <20170105220725.2022bbbd.freebsd@edvax.de> <alpine.BSF.2.20.1701052114410.72036@wonkity.com> <1483716783.1699717.839431305.777E9CA7@webmail.messagingengine.com> <20170106175823.4a09fb10.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Re: more etc/wpa* and rtc.conf-1   Ha! Here we have it. Why do you try
to obtain an IP from a network card that has no cable in it?   ...
System setting from graphics 

 as stated before   was offered tow interfaces 

 marvel and intel

 tested multiple times both 

  after  system stated  that exist ssid of author 

  entried   " myidentity@uni-hamburg.de"
  passwwd  " cxcxcx "

 but after  enter in graphics can not be performed 

(tested multiple times )

   after tab     +  "+" to passwd    arrov - ...

and entry can be performed only with  "entry on keyboard" 
######################################################





-- 
  swjatoslaw  gerus
  milstar2@eml.cc

On Fri, Jan 6, 2017, at 05:58 PM, Polytropon wrote:
> Allow me to summarize the various replies...
> 
> On Fri, 06 Jan 2017 16:33:03 +0100, swjatoslaw gerus wrote:
> > Task performed 
> 
> Good!
> 
> 
> 
> > > network={
> > >  	ssid="somessid"
> > >  	identity="someidentity"
> > >  	password="somepassword"
> > >  	key_mgmt=WPA-EAP
> > > }
> > 
> > performed poweroff -poweron
> > 
> > service netif restart
> 
> You _either_ reboot _or_ run "service netif restart", it's
> not needed to do _both_.
> 
> 
> 
> > dhclient not running ? (check /var/run/dhclient.msk0.pid).
> > Stopping network :lo0 msk0
> > 
> > text ...
> > 
> > msk0 
> > status no carriier 
> 
> Again: That is the wired network card, which is obviously
> not connected, so just _ignore it_.
> 
> WHat about the messages for the wireless adapter (iwn0, wlan0)?
> 
> 
> 
> On Fri, 06 Jan 2017 16:49:27 +0100, swjatoslaw gerus wrote:
> > 
> > > > 
> > > > Replace <SSID> with the SSID you want to connect to, and
> > > > <key> with the corresponding password.
> > > > 
> > > > Add those to /etc/rc.conf:
> > > > 
> > > > 	wlans_iwn0="wlan0"			<=== THOSE ARE
> > > > 	ifconfig_wlan0="WPA SYNCDHCP"		<=== MISSING!
> > 
> >  That possible  step  in right direction
> 
> That _is_ the right direction! :-)
> 
> 
> 
> > > > Then just restart networking:
> > > > 
> > > > 	# service netif restart
> > > > 
> > > > The wireless connection should be up now.
> > > > 
> > > > For diagnostic purposes, do the following "step by step" and
> > > > check if (and where) problems occur:
> > > > 
> > > > 	# ifconfig wlan0 create wlandev iwn0
> > > > 	# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf  
> > > > 	# dhclient wlan0
> > >
> > 
> >  wlan running  channel 36 5180 mhz 
> 
> See? It's not complicated when you follow the instructions.
> 
> 
> 
> > ... but after   sony dhclient send_paket :No buffer availible 
> > sony last message   repeated 9 times 
> 
> Putting this error message into a search machine reults in
> a quite interesting page:
> 
> https://forums.freebsd.org/threads/45605/
> 
> Try changing
> 
> 	ifconfig_wlan0="WPA SYNCDHCP"
> 
> to
> 
> 	ifconfig_wlan0="WPA DHCP"
> 
> in /etc/rc.conf. Or might it be possible that you're trying
> to get an address via DHCP from the _not connected_ wired
> network card? To make sure that isn't a problem, add
> 
> 	ifconfig_msk0="down"
> 
> to /etc/rc.conf
> 
> 
> 
> On Fri, 06 Jan 2017 16:58:59 +0100, swjatoslaw gerus wrote:
> > ifconfig wlan0
> > 
> > inet 0.0.0.0 netmask  0xff000000 broadcast 255.255.255.255
> > nd6 options=29
> > media :IEEE 802.11  Wireless Ethernet autoselect
> > status : no  carrier 
> > ssid "" channel 1 (2412 mhz 11g ht/20)
> > regdomain FCC country US authomode  WPA1+WPA2/802.11i  privacy ON
> > deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 protmode CTS
> > ampdulimit 8k -amsdutx amsdurx shortgi -stbc wme roaming MANUAL
> > groups: wlan 
> > 
> > #####################################
> > 
> > ssid ""    - ?      " author ssid would entried from start 
> 
> No. The SSID is entered in /etc/wpa_supplicant.conf, as
> several answers have already shown.
> 
> It _might_ be possible that "regdomain FCC country US" is
> causing trouble. I have no idea how it got into your
> configuration. Maybe you comment that particular line
> out, for testing? (It's in /etc/rc.conf, according to
> your previous post.)
> 
> 
> 
> On Fri, 06 Jan 2017 17:12:54 +0100, swjatoslaw gerus wrote:
> > for ifconfig wlan0  copy belov  ,suspect rc.conf some false ,but  part
> > of rc.conf was
> > edited from graphics by loader downloading  ( false from start )
> 
> Yes, the installer creates /etc/rc.conf and inserts the values
> which you've selected during installation (_not_ download!).
> 
> 
> 
> > cat wpa*
> > 
> > network = {
> >   ssid= " myssid"
> >   key_mgmt=WPA-EAP
> >   identity= "  myiden@uni-hamburg.de"
> >   password=" mypasswd"
> > 
> > }
> 
> There are spaces which probably don't belong there. Make sure
> there are _no_ spaces, i. e.:
> 
> 	network={
> 		ssid="myssid"
> 		key_mgmt=WPA-EAP
> 		identity="myiden@uni-hamburg.de"
> 		password="mypasswd"
> 	}
> 
> Note that spaces matter.
> 
> 
> 
> > cat rc.conf
> > 
> > hostname=" sony"
> > keymap ="german.iso.kbd"
> > ifconfig_msk0= "DHCP"
> 
> Ha! Here we have it. Why do you try to obtain an IP from a
> network card that has no cable in it? Comment that line,
> or change it as mentioned above.
> 
> 
> 
> > defaultrouter=""
> 
> Enter the router info that you got from the WLAN maintainer.
> It should be in the instructions, and the Linux version will
> also name it correctly.
> 
> 
> 
> > ifconfig_msk0_ipv6= " inet6 accept_rtadv"
> 
> Comment it out.
> 
> 
> > create_args_wlan0=" country US  regdomain FCC"
> 
> Comment that one out, too.
> 
> 
> 
> > wlans_iwn0="wlan0"
> > ifconfig_wlan0="WPA SYNCDHCP"
> 
> Those are correct. If SYNCDHCP doesn't work, try DHCP.
> 
> 
> 
> > local _unbound_enable= "YES"
> 
> Here is a space that doesn't belong there.
> 
> 
> 
> > sshd_enable= "YES"
> > moused enable="YES"
> > dumpdev=AUTO" 
> 
> Okay.
> 
> 
> 
> > ifconfig_msk0 ?
> > defaultrouter =""   ?
> > wlans  or wlan ?
> 
> As explained in the documentation, and in this message "thread",
> several times. THe correct form is:
> 
> 	wlans_iwn0="wlan0"
> 
> Also read this:
> 
> http://www.daemonology.net/blog/2015-01-13-freebsd-10-iwn-problems.html
> 
> Even though the "n" problem shouldn't be there anymore (the
> referenced text is from 2015), it illustrates the correct
> syntax.
> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

-- 
http://www.fastmail.com - IMAP accessible web-mail




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1483722329.1722103.839532641.693A12DA>