Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *transcript copied 1/20/2013 7:18pm. channel *vectorlinux in IRC*
- <twin2014> hello?
- <roarde> hi, twin2014
- <twin2014> hi, i just installed VL7.0 and trying to install a wireless usb adapter. totally new to linux and looking for assistance, am i in the right place?
- <roarde> yes, twin2014, but we may need to resort to the forum for this
- <roarde> but we'll try it here for now
- <twin2014> thats fine i dont mind logging into the forum if more convenient
- <twin2014> prob would be better if i can eventually get this thing installed anyway that other people can see it
- <roarde> what wireless adapter is it?
- <twin2014> thx for assistance, its a netis WF-2111
- <roarde> come to think of it, just open up a terminal and do: 'iwconfig'
- <twin2014> chipset is Realtek, i think its rtl8188cus
- <twin2014> or something like that
- <roarde> (with it plugged in, of course)
- <twin2014> ya i just did lsusb and thats the chipset it listed
- <twin2014> im chatting to you via a separate laptop on windows vista right now
- <roarde> check iwconfig to see if it's been configured as a wireless device
- <twin2014> ok one sec
- <twin2014> next to 'lo' or 'eth0' or 'wlan0'?<bigpaws> We need the exact output from lspci exact rtl...
- <roarde> don't know how familiar you are with freenode, but go slow: it might be considered "flood", which will get you disconnected
- <roarde> bigpaws is much better with this
- <roarde> bigpaws: you caught that we're working on a usb device?
- <bigpaws> oops
- <roarde> lsusb shows realtek
- <twin2014> do you want the text output from iwconfig?
- <bigpaws> Is there output
- <roarde> yes, please. if it's long, well, do you know pastebin?
- <twin2014> totally new to linux sry, i dont know what pastebin means
- <roarde> tell ya what -- i'll let bigpaws ask ya for specific lines
- <bigpaws> roarde: I will be in and out. After you get the needed module chak lsmod
- <twin2014> wlan0 IEEE 802.11bgn ESSID:off/any
- <twin2014> Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
- <twin2014> Retry long limit:7 RTS thr=2347 B Fragment thr:off
- <twin2014> Encryption key:off
- <twin2014> Power Management:on
- <roarde> gonna check first to see if just maybe it has it
- <bigpaws> It appears to be up
- <roarde> twin2014: not a good idea to do that again, but thanks for the info\
- <bigpaws> Now try iwlist scan.
- <twin2014> sry, how do i paste it acceptably?
- <bigpaws> See if your network shows up
- <bigpaws> twin2014: As command use this: iwlist scan
- <twin2014> all 3 say "interface doesnt support scanning."
- <twin2014> and wlan0 after that says "network is down"
- <roarde> visit http://pastebin.com
- <roarde> paste text in the box, press "submit", and give us the resulting URL
- <roarde> (if there's anything else to paste)
- <twin2014> ah ic. thanks ill use that from now on
- <bigpaws> twin2014: ifconfig wlan0 up
- <twin2014> ok one moment
- <bigpaws> then try the command: iwlist scan
- <bigpaws> roarde: Family gets upset when dinner is late
- <roarde> right. thinking of seeing what wicd will do
- <roarde> presently, have someone with a security problem in prvmsg. should just take a minute or two
- <twin2014> http://pastebin.com/E7HBqNgu
- <bigpaws> Which network is yours?
- <twin2014> ah each 'Cell#' is a network?
- <bigpaws> yes
- <bigpaws> ESSID:"gaugestation"
- <bigpaws> That is the network SSID
- <twin2014> Cell 05
- <twin2014> "Elainennw"
- <roarde> should check to see whether wicd is running - probably is.
- <roarde> and will interfere. or we can use it.
- <roarde> trouble is, i've been on networkmanager long enough to forget how
- <twin2014> bigpaws: any insight/comment?
- <twin2014> roarde: talking to bigpaws, right?
- <roarde> ok, got wicd up
- <roarde> twin2014: there's a symbol near the lower left of your screen (i think) that looks a lot like the connection applet in vista. true?
- <roarde> no, i'm asking you if you see something on your screen that looks kinda like the connection widget from Vista
- <twin2014> are you talking about on the vista laptop im on right now or on the Linux desktop im troubleshooting?
- <roarde> and sorry, make that lower right
- <roarde> the Linux desktop
- <twin2014> like on that application tray thing at the bottom?
- <roarde> on the other hand, you could open the menu and look for "wicd (something)"
- <twin2014> does wicd come preinstalled?
- <roarde> yes, it does
- <roarde> the next release uses networkmanager instead, but 7.0 (which you should stay with for now) uses wicd
- <twin2014> looking
- <roarde> if you
- <roarde> if you're on the menu, look in the "network" section
- <twin2014> i dont see 'network'
- <twin2014> youre talking about the 'Menu" dropdown at the top left of the desktop, right?
- <roarde> ok, you're probably looking at that tray
- <roarde> yes
- <twin2014> 'accessories', ... 'internet', .... 'system',.... no 'network'
- <roarde> internet?
- <twin2014> oh here we go
- <twin2014> wicd network manager
- <roarde> start it
- <twin2014> sry missed that somehow before
- <roarde> see if it lists networks. probably not, but let me know
- <twin2014> nothing listed
- <roarde> ok.
- <roarde> at the right of the row "Network Switch Off Wi-Fi Disconnect . . ."
- <twin2014> is my adapter even installed correctly? i was having trouble understanding whether it was or not from all of the linux commands to enter and their output
- <roarde> there's a small down-arrow. click that.
- <twin2014> ok, im in prefernces now
- <bigpaws> twin2014: It is installed.
- <roarde> General Settings tab, should see "Network Interfaces"
- <bigpaws> Most time the module (What you would refer to as a driver) is in the kernel
- <bigpaws> No need to install nay modules.
- <twin2014> ok, im at that tab
- <bigpaws> Dinner is ready. I am not ignoring you
- <roarde> is the "Wireless interface:" box filled in?
- <twin2014> bigpaws: oh im sry, don't let me interrupt your dinner. roarde has been helping me.
- <twin2014> roarde: blank
- <roarde> more like "taking your time" to this point :D
- <roarde> ok, put in: wlan0
- <twin2014> done
- <roarde> no spaces, no caps. click "OK" at bottom, that window will disappear
- <twin2014> done
- <twin2014> ok hit refresh
- <twin2014> im seeing networks now!
- <roarde> gotta hand it to ya, yer quick!
- <roarde> so connect already :P
- <twin2014> said requires encryption, new window came up
- <roarde> uh-huh
- <roarde> you know your wifi password, right?
- <twin2014> yes, trying to remember type of encryption
- <twin2014> does it say it in that cmd output?
- <twin2014> one sec
- * rbistolfi (~rbistolfi@186.18.161.14) Quit (Read error: Operation timed out)
- <roarde> is "psk" an option?
- <roarde> if there's a blank for the pass, just fill that in and hope for the best
- <roarde> ah. "WPA" (or WPA1)
- <twin2014> ok but what are the different wpa types?
- <twin2014> one sec
- <roarde> don't really know. but click "properties" next to the net and select "WPA 1/2 (Preshared Key)
- <twin2014> ok i selected that, trying to connect
- <twin2014> hmm
- <twin2014> says connection failed bad password, i just asked her what the pw is im pretty sure its correct
- <twin2014> in the wicd network manager it shows the network as wpa2 though
- * rbistolfi (~rbistolfi@186.18.161.14) has joined #vectorlinux
- <roarde> what does the password look like? make up something similar-looking and share it
- <twin2014> so would i select 'wpa2-peap' or 'wpa2-leap' in settings instead?
- <roarde> try wpa 1/2 passphrase
- <roarde> or is there a way to get the true password from the windows machine?
- <roarde> make up a password that looks kinda similar and type it here
- <twin2014> i just verified the password with her again letter for letter, i dont think thats the problem
- <roarde> looking to see if it's hex digits, pure numbers, words, or what
- <twin2014> its just lowercase alphanumeric
- <twin2014> very simple
- <roarde> any letters past "g" in the alphabet?
- <twin2014> i tried both wpa 1/2 passphrase and shared key, still says bad password
- <twin2014> *preshared key
- <roarde> all i can suggest is running down the list.
- <roarde> no, wait.
- <roarde> close wicd and reboot
- <roarde> it's a problem with our wicd installation
- <roarde> one of the reasons for the change to networkmanager
- <bigpaws> not sure about that
- * rbistolfi (~rbistolfi@186.18.161.14) Quit (Ping timeout: 264 seconds)
- <roarde> bigpaws: wanna work with wicd, or shut it down?
- <twin2014> wait one sec
- <twin2014> in windows it says the encryption type is AES
- <bigpaws> right
- <twin2014> and WPA-personal
- <bigpaws> twin2014: Can you try following this tutorial: http://www.dedoimedo.com/computers/wicd.html
- <twin2014> sry WPA-2 personal
- <twin2014> ok ill follow that link am i just selecting the wrong encryption type?
- <bigpaws> I think the only problem is the actual connection. I just do my stuff manualy with rc.inet1.conf and wpa_supplicant
- <bigpaws> That is a good chance
- <bigpaws> twin2014: Try this on. It is from VL 6.0. It should work
- <bigpaws> http://www.opensourcebistro.com/Tutorial/VL60/02.Beginners-guide/Wicd-wireless/Wicd-wireless.htm
- <twin2014> bigpaws, roarde: should i try rebooting and using wicd again first?
- <bigpaws> Won't hurt
- <twin2014> ok one moment
- * rbistolfi (~rbistolfi@186.18.161.14) has joined #vectorlinux
- <twin2014> now when i use wicd and try to refresh it doesnt even show any networks
- <roarde> open preferences again and see if "wlan0" is still there
- <twin2014> yes it is
- <twin2014> do i need to turn it on again with ifconfig wlan0 up or something?
- <roarde> in terminal, check "iwconfig"
- <roarde> wicd should do that if it's running
- <twin2014> what info do you need from that?
- <roarde> does wlan0 look the same as before?
- <twin2014> do you want me to pastebin or something specific?
- <bigpaws> No need
- <bigpaws> Is there the same output as before?
- <twin2014> one sec
- <roarde> ('ifconfig' would contain the word "UP")
- <twin2014> no its not the same
- <bigpaws> Ok as root type: ifconfig wlan0 up
- <bigpaws> There will not be any output
- <twin2014> it doesnt list 'encrytion key' and power management now says 'off' instead of 'on', also tx-power is now 20 dBm instead of 0
- <bigpaws> Cool
- <wigums> good
- <bigpaws> Open the wireless icon you used on the desktop again
- <roarde> (wicd)
- <twin2014> ok i did ifconfig, opened wic
- <twin2014> wicd
- <bigpaws> Do you see a list of networks?
- <twin2014> no
- <twin2014> still not showing anyh
- <bigpaws> USe the refresh button
- <twin2014> ya thats what i was doing, nothing still
- <bigpaws> ok
- <twin2014> network interface in preferences still has wlan0
- <bigpaws> Does the command ifconfig show wlan0?
- <roarde> this looks like the old problem . . .
- <roarde> Shut down. Not "reboot", but shut down. Wait a bit, start back up.
- * rbistolfi (~rbistolfi@186.18.161.14) Quit (Ping timeout: 260 seconds)
- <roarde> ("a bit" is a few seconds or so)
- <twin2014> bigpaws: yes it does show wlan0, do you need pastebin?
- <bigpaws> NO
- <bigpaws> Sorry
- <bigpaws> In the command line typr iwlist scan
- <bigpaws> typr/ type
- <twin2014> wlan0 says 'no scan results'
- <twin2014> do you want me to shut down or put something else in the command line?
- <twin2014> 'typr/ type' ? i dont understand
- <bigpaws> In the command line type ifconfig wlan0 down
- <twin2014> done
- <bigpaws> tpypr/type is spelling correction
- <bigpaws> Remove the USB device and plug it back in
- <twin2014> done
- <twin2014> it shows again in lsusb
- <twin2014> do ifconfig wlan0 up again?
- <bigpaws> yes
- <twin2014> done. does it matter if wicd has been open during all of this?
- <bigpaws> Learning already
- <bigpaws> IT shoulkd not
- <twin2014> ok i just closed it now
- <bigpaws> I apologize, bad fingers
- <bigpaws> Ok
- <bigpaws> After the ifconfig commnd then try ifconfig and look for wlan0
- <twin2014> its there
- * rbistolfi (~rbistolfi@186.18.161.14) has joined #vectorlinux
- <bigpaws> Cool
- <bigpaws> Now iwlist scan
- <twin2014> ok worked that time, showing networks. open wicd and check?
- <bigpaws> Yep
- <bigpaws> You are following right along. Great job
- <twin2014> ok see networks, opened properties of mine
- <twin2014> this is where i couldnt get past last time
- <bigpaws> ok
- <twin2014> i have the right password, i have wpa 1/2 passphrase selected for encryption
- <twin2014> should i use that or something else?
- <bigpaws> Are you using PAssphrase or PSK it should be in ()
- <twin2014> in the wicd network manager window it says my network is WPA2
- <bigpaws> Right I am looking for WPA 1/2 (Passphrase)/ WPA 2 (PresharedKEy)
- <twin2014> not sure if its passphrase or psk, you're saying one should have the password enclosed in parentheses? ()
- <bigpaws> It is in a drop down list
- <twin2014> oh sry both of those options are there
- <twin2014> you want me to try both with the password?
- <roarde> lemme check something. i'll probably get disconnected, but will return
- <bigpaws> You may need to open Advanced settings
- <bigpaws> ONe and then the other
- <twin2014> trying to connect with wpa 1/2 passphrase
- <bigpaws> Ok if that one fails then try with preshared ket
- <twin2014> it hung on msg: " validating authentication.." then says 'connection failed: bad password" like last time
- <twin2014> trying psk
- <bigpaws> ok
- <roarde> did you check the box next to the password so that you could see what you're typing?
- <twin2014> ya
- <roarde> (had to ask)
- <twin2014> same result
- <bigpaws> ok
- <roarde> bigpaws: wanna shut down wicd?
- <bigpaws> NOt yet
- <roarde> k
- <twin2014> roarde, bigpaws: im gonna try reconnected to network with windows laptop im on, just to double check that she knows her password correctly
- <twin2014> will disconnect and then try to reconnect to irc
- <bigpaws> Good idesa
- <twin2014> she swears its right but dont want to give you guys a headache if shes wrong
- <twin2014> gonna disconnect
- * Disconnected
- * Attempting to rejoin channel #vectorlinux
- * Rejoined channel #vectorlinux
- * Topic is 'Welcome to the VectorLinux Support Room! VL Rocks!!! Our support forum is at http://forum.vectorlinux.com/ where you may find quicker answers. ;-) NEW ISOS: http://vectorlinux.osuosl.org/veclinux-7.0/iso-release/VL7.0-STD-GOLD.iso http://vectorlinux.osuosl.org/veclinux-7.0/iso-release/VL7.0-STD-GOLD-LIVE.iso http://vectorlinux.osuosl.org/VL64-7.0/iso-release/VL64-7.0-STD-B1.iso'
- * Set by uelsk8s!~uel@67-2-175-21.slkc.qwest.net on Mon Nov 28 19:40:06
- <twin201400> roarde,bigpaws: just doublechecked the password, its correct
- <bigpaws> ok
- <twin201400> thats why you have trouble typing eh? it must be the bigpaws?
- <roarde> I have to wonder whether assigned ip's are all used.
- * twin2014 (~twinter22@108-234-178-100.lightspeed.sndgca.sbcglobal.net) Quit (Ping timeout: 246 seconds)
- <bigpaws> Yes
- <twin201400> dunno if this helps, but i just tried connecting to an unsecured network, and it hung on "obtaining ip address..." then said "cant get ip address"
- <twin201400> *"connection failed: unable to get ip address"*
- <bigpaws> ok
- <bigpaws> In the command line type: iwconfig wlan0 essid Elainennw
- <twin201400> done
- <bigpaws> Now see if iwconfig wlan0 output look different
- <twin201400> yes, it has the ssid instead of "off/any"
- <bigpaws> Cool
- <bigpaws> Type wpa_gui
- <twin201400> its up
- <bigpaws> Do you see the networK?
- <twin201400> no. "status: could not get status from wpa_supplicant" in current status tab
- <bigpaws> ok close it
- <bigpaws> Now try wicd
- <twin201400> no networks found again
- <twin201400> should i ifconfig wlan0 down, unplug, up again?
- <bigpaws> Did the output of ifconfig change?
- <bigpaws> Shutdown the system, wait 10 seconds and start again
- <twin201400> sry not sure, i didnt save the output of that previously
- <bigpaws> Do not just restart
- <bigpaws> np
- <bigpaws> np=no problem
- <twin201400> ya got it
- <twin201400> it still shows something for wlan0
- <bigpaws> Do the shutdown wait and start
- <twin201400> shutdown and restart?
- <twin201400> one sec
- <twin201400> restarting
- <bigpaws> Ok
- <twin201400> i like how fast the OS boots up, esp on this old machine i got
- <twin201400> ok back on desktop
- <bigpaws> Ok Open WICD
- <twin201400> ok i see networks
- <bigpaws> Cool
- <roarde> just click on "connect" for the one you want
- <bigpaws> Faster typer than me
- <roarde> (don't go for "properties" until it makes ya)
- <twin201400> i tried just connecting, it mustve saved properties from before cause its outputting same result as last time
- <twin201400> connection failed: bad password
- <roarde> twin201400: do you have a few minutes to spare?
- <twin201400> ya why?
- <roarde> i need to reboot to look at another method
- <twin201400> ok
- <bigpaws> twin201400: Open the preferences tab in WICD
- <roarde> or wait - can do it without reboot, but will probably get d/c'd
- <twin201400> bigpaws: open
- <bigpaws> What WPA Supplicant Driver is listed?
- <twin201400> wext
- <bigpaws> Ok do you see the wireless interface and is wlan0 listed>?
- <twin201400> yes
- <bigpaws> Go to the connection and click on advanced settings
- <twin201400> properties for my network or 'advanced settings' tab in wicd preferences?
- <bigpaws> AS in the network you want to connect to
- <twin201400> im on the properties page of my network
- <bigpaws> Go to options
- <twin201400> dont see that anywhere
- <twin201400> window up says "Elainennw - Properties"
- <twin201400> buttons at bottom are scripts, information, cancel, ok
- <bigpaws> Right you need open an advanced or options window for that network
- * roarde (~roarde@pdpc/supporter/active/roarde) Quit (Ping timeout: 248 seconds)
- <bigpaws> We need you to change the encryption
- <twin201400> the window i have up shows the encryption type and the key
- <bigpaws> Did you try this USB device in Windows to connect to this network
- <twin201400> i dont see an 'options' anywhere though
- <bigpaws> ok
- <twin201400> no i havent yet
- <bigpaws> How old is this device
- <twin201400> i just bought it at frys
- <bigpaws> Can I have the name model and version number.
- <twin201400> do you want me to disc and try to use the adapter on my windows laptop?
- <bigpaws> Not yet
- <twin201400> its a netis WF-2111
- <twin201400> it says on the box it supports linux. both on cd and on netis website there is a linux driver/module
- <twin201400> http://www.netis-systems.com/en/Products/Wireless%20USB%20Adapters/73.html#.Ut3NlhDTneM
- <bigpaws> I am doing some reading for this
- <twin201400> k
- <bigpaws> what is the output of uname -r
- * uel_sk8s (~Uel@71-35-213-182.slkc.qwest.net) has joined #vectorlinux
- <twin201400> 3.0.8
- <twin201400> wondering if VL7.0 had bad install?
- * uel-sk8s (~Uel@65-130-23-165.slkc.qwest.net) Quit (Ping timeout: 252 seconds)
- <bigpaws> output of: lsmod | grep r8192
- <bigpaws> | = pipe above the enter key
- <twin201400> maybe i typed something wrong but it didnt give me any output
- <bigpaws> output: ifconfig and check for wlan0
- <twin201400> wlan0 is gone
- <bigpaws> cold reboot please
- <bigpaws> shutdown then start
- <twin201400> meaning shut down, wait 10 secs, restart?
- <bigpaws> yes
- <twin201400> shutting down
- <twin201400> restarting
- <twin201400> is it possible it has wrong driver configured with it or something?
- <twin201400> ie using 8192 but should be using 8188?
- <bigpaws> There are alot of possibilities
- <bigpaws> It can be either
- <twin201400> ok
- <twin201400> on desktop
- <bigpaws> I am not trying to be vague
- <twin201400> no i understand
- <twin201400> what next?
- <bigpaws> I am looking in to that
- * roarde (~roarde@pdpc/supporter/active/roarde) has joined #vectorlinux
- <roarde> how goes it?
- <bigpaws> What is the plan for this laptop? As in is this only going to be used on this network?
- <twin201400> are you and roarde in irc often? do you mind if i get an email contact for you guys just in case?
- <twin201400> for right now yes
- <bigpaws> I am on the forum. www.forum.vectorlinux.com
- <roarde> actually, a visit to http://forum.vectorlinux.com would be more worthwhile
- <twin201400> ok
- <roarde> I'm beginning to think that the driver doesn't fully support encryption.
- <twin201400> bigpaws: do you want me to try something on the laptop? or try to use the adapter on the laptop?
- <roarde> There's a way to use the windows driver for it, but others know that better than I do.
- <twin201400> why cant i connect to an unsecured network then?
- <twin201400> does that use encryption too?
- <roarde> good question
- <bigpaws> roarde: It is a newer device and supports wpa 2
- <roarde> and here i sit without a good answer
- <bigpaws> The reason could be dhcpc clobering itself
- <twin201400> would installing some other version of linux and testing the adapter on that be helpful?
- <twin201400> would other linux distros have different drivers/modules?
- <roarde> actually, it's the same except for the age of 7.0
- <twin201400> i meant as in non slackware
- <bigpaws> VL is not slackware
- <bigpaws> What is this laptop
- <roarde> the kernel is basically the same across linuxes
- <twin201400> what type of linux is it based on then?
- <twin201400> whoever edited that part of wikipedia was wrong then lol'
- <bigpaws> Losely on Slackware
- <roarde> where is wicd.pid located?
- <bigpaws> ps aux | grep wicd
- <twin201400> bigpaws: one sec
- <bigpaws> That was for roarde
- <twin201400> oh sry
- <roarde> there's some file that tends to hang around which causes problems
- <roarde> heh.
- <bigpaws> brb
- <bigpaws> exit
- * bigpaws (~bigpaws@24.152.242.201.res-cmts.sewb.ptd.net) Quit (Quit: leaving)
- <roarde> twin201400: unplug the wireless, wait about half a minute, then see what iwconfig has to say
- <twin201400> ok
- <roarde> (don't plug it back in)
- * bigpaws (~bigpaws@24.152.242.201.res-cmts.sewb.ptd.net) has joined #vectorlinux
- <bigpaws> Had to reset irssi to unignore joins/parts/quit
- <bigpaws> Hope it worked
- <roarde> by the way, is that a laptop, desktop, or what?
- <twin201400> lo and eth0 listed, no wlan0. both say 'no wireless extensions'
- <twin201400> desktop is running vectorlinux7
- <bigpaws> Nice the config change worked
- <roarde> ok. just making sure that device is what we were looking at
- <bigpaws> Sorry that was for em
- <bigpaws> twin201400: ps aux | grep dhcp
- <twin201400> need pastebin or something specific?
- <bigpaws> Was there more than one line of ouput?
- <roarde> how many lines? keep in mind that long lines will wrap. lines begin with a username, either yours or "root"
- <roarde> one of the lines will mention "grep chcp". ignore that one.
- <roarde> heh.
- <twin201400> root 3428 0.0 0.1 2440 788 pts/0 S+ 02:25 0:00 grep dhcp
- <roarde> that the only line?
- <twin201400> You have new mail in /var/spool/mail/root
- <bigpaws> ok
- <bigpaws> Try wicd
- <roarde> do: hostname
- <roarde> (before cranking wicd back up)
- <twin201400> sry it takes awhile to get you the output, im using a flash drive and resaving a .txt file
- <roarde> i was wondering how you were managing that :P
- <twin201400> lol
- <bigpaws> twin201400: ps aux | grep dhcp > output.txt
- <bigpaws> Would output the text to a text file
- <twin201400> ah nice thx
- <twin201400> wicd open
- <twin201400> no networks
- <bigpaws> Damn
- <roarde> device is still unplugged?
- <twin201400> yes
- <roarde> ok
- <twin201400> wlan0 still in prefs
- <bigpaws> So is this the permenant location for it. Or will it be moved to another location
- <roarde> do you know about 'su' or 'becoming root'?
- <twin201400> well to execute commands as root i need to first login using 'su -' right?
- <bigpaws> yes
- <bigpaws> su = swith user
- <roarde> that'll work. go ahead and do that.
- <twin201400> bigpaws: permanent location?... of the desktop or the adapter?
- <bigpaws> Both. I can probably get you setup without wicd
- <bigpaws> Howeer it will be text files not a gui
- <roarde> What he's suggesting is that it will be inconvenient to connect to a different router/hotspot if that is done.
- <bigpaws> That is why I asked about future plans for this system
- <roarde> what's the name of the realtek module?
- <twin201400> bigpaws: not permanent for either... i dont really care whether setup is text/gui... just at this point i need to figure out a solution that is simple and reproducible and doesnt restrict me to one setup
- <twin201400> i mean windows has its faults but something like this for me coming to linux for the first time is really frustrating have to spend a day or two researching for a small usb adapter setup
- <twin201400> roarde: name of realtek module?
- <bigpaws> That is the fault of the hardware not linux
- <twin201400> let me check
- <roarde> twin201400: actually a question for bigpaws
- <roarde> twin201400: plug the adapter back in
- <twin201400> its what shows up with lsusb right?
- <bigpaws> roarde: r8192s_usb
- <bigpaws> For me to install Windows is 8+ hours. For Linux is about 1 hour or so.
- <bigpaws> The problem is that realtek does not publish the hardware specs to write drivers for it.
- <twin201400> bigpaws: was just venting a little, have no desire to turn this into a win/linux debate/flamewar. and i really appreciate your guys' help
- <bigpaws> I understand that.
- <bigpaws> If Realtek published it's hardware specs a perfect driver would be working./
- <roarde> bigpaws: how would i find if i have that driver available?
- <bigpaws> cat /boot/config...
- <twin201400> bigpaws: should i plug the adapter back in or no?
- <bigpaws> Does it show in ifconfig?
- <bigpaws> roarde: You need to cat the kernel config
- <twin201400> bigpaws: talking to me or roarde about ifconfig?
- <bigpaws> The ifconfig is for you
- <twin201400> wlan0 is gone from ifconfig
- <twin201400> its currently still unplugged
- <bigpaws> Ok. Plug it ion and check again
- <roarde> bigpaws: RTL8192U ?
- <bigpaws> That is the similar chipset.
- <twin201400> checked again
- <bigpaws> twin201400: Also not that even if the wireless card ahs the same name another version may use a different chipset
- <twin201400> right
- <bigpaws> twin201400: Is wlan0 there
- <twin201400> is the chipset whats shown from lsusb though?
- <twin201400> no its not
- <bigpaws> yes
- <twin201400> well lsusb says its RTL8188CUS
- <twin201400> how is RTL8192U related?
- <bigpaws> Same type of chipset. Some manufactures use similar chipsets with a different name
- <roarde> twin201400: have you done 'su' yet?
- <twin201400> im in console as root right now
- <bigpaws> Enough to cahnge the name but so similar the drivers are the same
- <wigums> roarde, always use "su -" to get to root
- <roarde> twin201400: /etc/rc.d/rc.wicd stop
- <bigpaws> ifconfig wlan0 up
- <roarde> errrg
- <twin201400> *explodes*
- <twin201400> lol
- <bigpaws> hehe
- <twin201400> which should i do?
- <bigpaws> wicd stop first
- <roarde> you'll get an error message box from wicd-client. just click "ok" or whatever
- <twin201400> ok
- <twin201400> one sec
- <twin201400> it said stopping wicd daemon and closing connections
- <twin201400> now do ifconfig wlan0 up?
- <bigpaws> yes
- <bigpaws> Then check ifconfig for wlan0
- <twin201400> its therre
- <bigpaws> ok
- <twin201400> roarde: wicd was still open when i did that cmd, no error box showed up.
- <roarde> odd. oh, well.
- <twin201400> after doing ifconfig i just realized its still open and closed wicd
- <bigpaws> np
- <bigpaws> iwconfig wlan0 essid Elainennw
- <twin201400> wlan0 was updated
- <bigpaws> Cool
- <bigpaws> wpa_passphrase essid passphrase
- <bigpaws> change essid to your essid and passphrase to the one for the network
- <bigpaws> wpa_passphrase essid passphrase >> /etc/wpa_supplicant.conf
- <bigpaws> That will use the info you got to the config file you need
- <twin201400> one sec
- <twin201400> ok
- <twin201400> should i open that config file now to check it or?
- <bigpaws> yes
- <twin201400> i take it with linux >> is similar to c++ iostream?
- <bigpaws> You will need to edit that file
- <roarde> cat /etc/wpa_suppicant.conf will just print it out (short file)
- <bigpaws> similarities
- <twin201400> what program should i open it with?
- <bigpaws> try nano /etc/wpa_supplicant.conf
- <bigpaws> There is tab completion in the shell
- <twin201400> "try nano... or "nano ..."?
- <bigpaws> nano /etc/wpa_supplicant.con
- <bigpaws> nano /etc/wpa_supplicant.conf
- <bigpaws> nano is an editor you can use.
- <bigpaws> Easier than vi
- <bigpaws> or emacs
- <twin201400> ok its open
- <roarde> (terminal should be "Terminal")
- <bigpaws> append # the line that says psk+your passphrase. Not the hex number
- <bigpaws> network={ ssid="essid" #psk="passphrase" psk=f5d1c49e15e679bebe385c37648d4141bc5c9297796a8a185d7bc5ac62f954e3
- <bigpaws> network={
- <bigpaws> ssid="essid"
- <bigpaws> #psk="passphrase"
- <twin201400> its already got the #
- <bigpaws> psk=f5d1c49e15e679bebe385c37648d4141bc5c9297796a8a185d7bc5ac62f954e3
- <bigpaws> }
- <bigpaws> Oh cool
- <bigpaws> then close the file
- <twin201400> k
- <bigpaws> AS root
- <bigpaws> wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
- <twin201400> wait a sec maybe i did something wrong
- <twin201400> when i enter that cmd line again to open the file it doesnt have that stuff at the bottom
- <twin201400> and now theres a separate file in /etc called wpa_supplicant.conf.save
- <roarde> twin201400: which command line did you retype?
- <bigpaws> Ok. Check the file this way
- <bigpaws> less /etc/wpa_supplicant.conf
- <twin201400> ok
- <bigpaws> Is the file ok?
- <twin201400> it looks diff now
- <twin201400> should i redo some of the steps before
- <twin201400> that ssid and passphrase stuff maybe
- <bigpaws> Can you pastebin that info
- <twin201400> how do i exit this 'less' mode?
- <bigpaws> I have to move to another computer
- <roarde> typing 'q' quits less
- <twin201400> oh sry no the file is fine
- <roarde> (typing 'h' gives help, btw. you'll use 'less' often)
- <twin201400> i hadnt scrolled down all the way
- <bigpaws> ok
- <bigpaws> AS root
- <bigpaws> type this
- <bigpaws> wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
- <twin201400> line 22: invalid psk '.......
- <twin201400> line 22: failed to parse psk .....
- <twin201400> line 24: wpa-psk accepted for key management, but no psk configured
- <twin201400> line 24: failed to parse network block
- <twin201400> failed to read or parse configuration .....
- <bigpaws> Can you pastebin the file /etc/wpa_supplicant.conf
- * wigums (~wigums@unaffiliated/wigums) Quit (Remote host closed the connection)
- <twin201400> where does > output.txt end up?
- <roarde> actually, in your home directory
- <roarde> or in /root
- * wigums (~wigums@unaffiliated/wigums) has joined #vectorlinux
- <roarde> we should find out where that thumbdrive is mounted
- <roarde> would make things easier
- <twin201400> i tried cat ____ > output.txt for that supplicant file i cant find the output txt file
- <roarde> ls /root/output.txt and ls ~/output.txt
- <bigpaws> I am back
- <roarde> but it would still have to be moved to the thumbdrive
- <twin201400> one sec im copying it
- <bigpaws> no fun moving from 3 23 inch screens to one 15inch screen
- <twin201400> http://pastebin.com/xma9XwSp
- <roarde> a working example (afaict): http://pastie.org/8652443
- <twin201400> i replaced each char of psk with '*'
- <twin201400> (in the paste, not the file)
- <bigpaws> Is that the pasphrase? 4311..
- <roarde> bigpaws: that's my file from my machine
- <roarde> as an example
- <bigpaws> Ah
- <bigpaws> I was wondering about that ssid
- <roarde> heh.
- <roarde> Would it complain and hang on the "example" WPA protected network?
- <roarde> bigpaws: you have the pastebin (not pastie) copy up now, right?
- <bigpaws> yes
- <bigpaws> no pastie
- <roarde> http://pastebin.com/xma9XwSp
- <bigpaws> I got it now
- <roarde> would the WPA example cause it to hang?
- <bigpaws> twin201400: you there?
- <twin201400> ya
- <twin201400> whats up?
- <bigpaws> You need to edit the file
- <twin201400> ok
- <roarde> if you like, as root 'leafpad /etc/wpa_supplicant.conf'
- <twin201400> ok
- <twin201400> its open in nano
- <twin201400> open in leafpad instead
- <bigpaws> http://pastebin.com/fQRu2fjE
- <twin201400> is that the linux equivalent of ms notepad?
- <bigpaws> doesn't matter
- <bigpaws> no
- <bigpaws> a little more powerfull
- <bigpaws> Save that file as wpa_supplicant.conf
- <twin201400> ok
- <bigpaws> Then you can transfer it to the other machine or you can edit by hand
- <roarde> btw, you can leave #psk as asterisks -- doesn't matter
- <twin201400> ok done
- <twin201400> i put the pw back in
- <bigpaws> wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
- <roarde> if you've saved the file, using the up-arrow key several times can recall the wpa_supplicant command
- <twin201400> ya gotcha
- <twin201400> same output as before
- <bigpaws> Doesn't really matter. We don't know where you live
- <roarde> twin201400: copy your existing /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.bak
- <bigpaws> wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf
- <bigpaws> Try that one
- <roarde> (or do that first)
- <roarde> (just plain "do that first")
- <twin201400> same output
- <roarde> back up the file you have. replace it with http://pastie.org/8652443
- <roarde> do the appropriate edits, of course
- <bigpaws> Then edit with your information
- <twin201400> you guys still gonna be on irc in about 30min-1hr?
- <bigpaws> More than likely
- <roarde> http://pastie.org/pastes/8652443/text will be easier to work with
- <twin201400> i gotta stop and eat something i dont know how much longer i can do this
- <bigpaws> ok
- <roarde> i'm gonna try something and bbiab
- <twin201400> do you guys have the same usernames in the forum? is there some way to send you messages directly on the forum?
- <bigpaws> I do
- <roarde> same here
- <bigpaws> There is a pm there
- <roarde> but you'd be better off asking under "Networking & Security" or better yet, "Vectorbie Questions"
- <twin201400> ok ill prob be back in 30min-hr, otherwise ill have to msg you another time on the forum. thx so much for your help so far, just wish i could get this dumb thing working.
- <roarde> but if you want pm, from the menu bar near the top, members > search for members (tab) is about the easiest way
- <roarde> off to check out something
- <twin201400> ok
- <twin201400> ttyl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement