[SOLVED] Wireless connect with username and password

I just recently installed Arch on my computer but have used *buntu for a couple of years so I'm not completely lost in the Linux-world.
Anyway, my college have a wireless setup that requires you to log in with your username and password. I used wicd in *buntu but the reason I installed Arch is because I want to know how to do stuff manually, and not only automagically.
So, the problem I have is that I don't know how to connect to it using wpa_supplicant and netcfg. I've googled about it but haven't seen any good examples, or how-to's.
I've a profile for my home network but I only have a WPA key here so that was easy with the wireless guide, so I know some basics about wpa_supplicant anyway.
This is what "iwlist wlan0 scan" give me:
Address: 0A:06:01:8D:A7:24
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=39/70 Signal level=-71 dBm
Encryption key:on
ESSID:"LangaraSecure"
Bit Rates:2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s
12 Mb/s; 18 Mb/s; 24 Mb/s
Bit Rates:36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=efeeef1c5fdea26f
Extra: Last beacon: 3183ms ago
IE: Unknown: 000D4C616E67617261536563757265
IE: Unknown: 0108040B0C1296182430
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 320348606C
IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606001B00000000000000000000000000000000000000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : 802.1x
IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
IE: Unknown: DD1D000CE600049B0000000106000CE60690D10404010000000504008C0000
Hope this is enough, if it's not just tell me what more you need =)
Last edited by Can0n (2010-01-11 19:56:56)

tavianator wrote:
This works for me here at UW:
Manually in /etc/wpa_supplicant.conf:
network={
ssid="<network>"
key_mgmt=WPA-EAP
identity="<username>"
password="<password>"
Using netcfg (which I recommend strongly): do the above and set WPA_CONF to /etc/wpa_supplicant.conf (or whatever you want).
Using netcfg from testing (which you'll have to upgrade to eventually):
CONFIGSECTION='ssid="<network>"
key_mgmt=WPA-EAP
identity="<username>"
password="<password>"'
That did it
I added an own profile in /etc/network.d that I just connect to now. Excited too see if it works back home as well, got some strange error yesterday when I use WEP.
Thanks !

Similar Messages

  • Getting Pooled Connection with username and password

    hi,
    I am facing problems in getting pooled connections to MYSQL
    database.I am using Tomcat server.
    I tried the example given in Tomcat doc "JNDI how to", it
    works fine with one set of username and password which is
    given in server.xml. Now can anybody guide me thru the steps
    to get pooled connections to the same database with multiple
    username and passwords.
    Thankyou all in advance

    Now can anybody guide me thru the steps to get pooled
    connections to the same database with multiple
    username and passwords.Nope. Can't be done -- at least not that I've seen yet.
    Database/JDBC driver vendors seem unconcerned, or don't
    care about this scenario. I ragged on Informix years
    ago for this very feature. It should would make database
    admins jobs a lot easier if they could know "who" that
    connection belonged to that is running the outrageous
    SQL query without having to divine it by way of tracing
    socket/IP connections back thru the network to some machine.
    The only way I've seen to do it is to create your own
    connection pool code that handles user/password connections.
    -- but then the problem becomes you have a collection of
    mini-pools for each user. i.e. if you have 200 users, you
    end up with 200 connection pools with a couple/few connections
    in each sub-pool. Kinda defeats the purpse.
    So, apparently, everybody just deals with the single
    "generic" user/password connection pool.

  • [gave-up] Connecting with username and password with nmcli

    I'm trying to connect to my university's network via nmcli. They give instructions on how to connect using the gui'ed version of Network Manager, however this is neither desired, nor at the time available to me. I've read through the wiki as well as man nmcli, however cannot figure this out. I can connect to my network at my appartment, so I know that the wireless works. That isn't the issue. The issue is just translating one to the other.
    http://opensource.marshall.edu/muwirelesspeap.html
    Last edited by nstgc (2015-02-24 17:55:10)

    Alad wrote:
    I've read through the wiki
    https://wiki.archlinux.org/index.php/WPA2_Enterprise
    NetworkManager can generate WPA2 Enterprise profiles with graphical front ends. nmcli and nmtui do not support this.
    I'd suggest connman, the format is fairly straightforward unlike other clients.
    (or you can generate the profile with the NM GUI on a different system, or install it temporarily)
    I swear I read the wiki. In any case, I'm probably going to almost completely deviate from the Arch way due to a lack of time needed to do things right the first time. Chances are I'll go with Antergos (still using Arch on my desktop). The only real difference, from my 2.5 months of using it, is that it doesn't start out fitting the user like a glove which is something you really only get by building your system up from next to nothing.

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • Using url with username and password in URL class

    Hi,
    I'm writting an applet in which I use getAppletContext().showDocument with an URL.
    The problem is that I'm using URLs with username and password (http://user:[email protected]/page) and it isn't working because the browser is getting the URL http://user/page.
    Is this a bug in the URL class? Or in the showDocument method?
    Is there any way to make this work?
    Thanks for any help,
    Pedro Prospero Luis ([email protected])

    I'm not sure whether this is supported behaviour. I've had this syntax fail to work in the Netscape address bar so I can't recommend it as an approach for authentication.
    If you want to authenticate the user before redirecting to the page, though, you could try creating a connection to another page on the same server and sending the authorization information then. Your browser may then be successfully authenticated.
    See http://www.javaworld.com/javatips/jw-javatip47.html for information on this.
    You might not need to read back the page from the server, just connect to it. Might work.

  • Sign in with username and password every time I want to check emails on my PC using iCloud?

    Signing in with username and password every time I want to check emails on my PC using iCloud
    Having convinced my parents to get rid of their old AOL account and sign up for iCloud to sync their new iPhone with their old PC running Windows 7, I thought I was on to a winner. All working OK but is there any other way to get into emails besides going on iCloud website and signing in with name and password everytime? Can it be set up as a Mail account directly like on a Mac? Or using Outlook or Entourage? Help! I'm not a PC person!!
    ELF

    If they have Win 7 or 8, and Outlook 2007 or newer then you can.
    Just download the iCloud Control Panel for Windows. Install and select the services you want (Mail Contacts and Calendars will appear in Outlook)

  • Problem with username and password

    I've been trying to set up a new back up from scratch, and after losing my network and wifi connection, I just about have it all working again.
    I have wireless connection, and I have the TC appearing correctly in Airport Utility, green light, reporting no issues, and seemingly ready to go.
    It shows up correctly when I select disk in TM's system preferences, and it shows up and connects OK i n Finder, under shared items.
    However, when I try to initiate a backup, its reporting a problem with the username and password, even though I'm entering the correct password.
    I've checked it in the keychain, changed it in AU to be sure etc, and when I enter a wrong password, it just tells me its the wrong password, rather than this longer message explaining there's a problem with the username or password.
    So I guess it could be with the username, but not sure what that might be - any ideas?
    The only thing I can think of is that the name appears as Time Capsule b7e45c in AU, but as Iain MacDonald's Time Capsule on Time Capsule b7e45c in TM's system prefs.
    Message was edited by: Iain MacDonald1

    Exactly the same here...error 107 is reported when I try to back up.
    There are 4 computers sharing the time capsule and only one of them reports this error.
    Is there a way to remove the sparsebundle and start again for this computer without having to lose all the others?

  • Foreign jms connection factory username and password

    I have to connect to TIBCO as the foreign JMS. I have created a foreign JMS server and configured JNDI properties including username and password. I configured a connection factory and specified username and password as well. Finally, I configured foreign destination.
              In web.xml and corresponding welogic.xml, I am using the resource-ref with Container authentication.
              With the above, I always get the following exception.
              javax.jms.JMSSecurityException: Not permitted
                   at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:499)
                   at com.tibco.tibjms.TibjmsSession._createProducer(TibjmsSession.java:697)
                   at com.tibco.tibjms.TibjmsQueueSession.createSender(TibjmsQueueSession.java:123)
              The above code works fine under the following circumstances:
              * If I don't use any username and passwords.
              * If I pass the username and password to the connection factory when creating the connection. According to the documentation here (http://e-docs.bea.com/wls/docs81/jms/j2ee_components.html#1033768) doing so in an error:(
              Any ideas or suggestions?

    Even though I had configured things in the web.xml and weblogic.xml, I didn't use them. So, instead of using global JNDI, I used java:comp/env JNDI. Once, I used the correct JNDI, the connection is working... I will continue to do further testing.
              > I have to connect to TIBCO as the foreign JMS. I
              > have created a foreign JMS server and configured JNDI
              > properties including username and password. I
              > configured a connection factory and specified
              > username and password as well. Finally, I configured
              > foreign destination.
              >
              > In web.xml and corresponding welogic.xml, I am using
              > the resource-ref with Container authentication.
              >
              > With the above, I always get the following exception.
              >
              >
              > javax.jms.JMSSecurityException: Not permitted
              > at
              > t
              > com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:4
              > 99)
              > at
              > t
              > com.tibco.tibjms.TibjmsSession._createProducer(TibjmsS
              > ession.java:697)
              > at
              > t
              > com.tibco.tibjms.TibjmsQueueSession.createSender(Tibjm
              > sQueueSession.java:123)
              >
              > The above code works fine under the following
              > circumstances:
              > * If I don't use any username and passwords.
              > * If I pass the username and password to the
              > connection factory when creating the connection.
              > According to the documentation here
              > e
              > (http://e-docs.bea.com/wls/docs81/jms/j2ee_components.
              > html#1033768) doing so in an error:(
              >
              > Any ideas or suggestions?

  • Dial to a modem with username and password using serial modem

    Hi, currently i am doing an application which use external modem to communicate with another modem. I am facing a problem that how to communicate with the modem which require username and password. The step i had tested was created a dial-up connection in first modem. The dial-up connection require me to insert the username, password and phone number. So i inserted all the parameters and can be connected with the second modem. The second modem was set an incoming call which is waiting an call with the correct username and password then only establish the connection. So how i started to do this application in labview ? i have search all the web but very less information about this. Can anyone help me ? I have attached the Incoming call setting photo.Thank you
    Attachments:
    Capture.PNG ‏7 KB
    Capture2.PNG ‏39 KB
    Capture3.PNG ‏74 KB

    Use :
    Properties prop = System.getProperties();
    prop.put("proxySet","true");
    prop.put("http.proxyHost","yourProxy");
    prop.put("http.proxyPort","8080"); // change the port
    //prop.put("https.proxyHost","yourProxy");
    //prop.put("https.proxyPort","8080"); // change the port
    Denis

  • Using CreateObject for Webservice with username and password

    When using createObject() to call a web service how do I pass
    in the user name and password required by the service?
    If I do a cfdump on the webservice object I see it has
    setUserName() and setPassword() methods but they don't seem to be
    working.
    I also see there are properties named "USERNAME_PROPERTY" and
    "PASSWORD_PROPERTY" but I can't seem to modify them in code. I
    suppose they are protected.
    example:
    ws = createObject("webservice", "
    http://url.to/wsdl.xml",
    "serviceport");
    ws.setUserName("myawesomeusername");
    ws.setPassword("myawesomepassword");
    myReturn = ws.serviceMethodCall("bla");

    quote:
    Originally posted by:
    MACRStockHolder
    For anyone that encounters the same issue/question;
    apparently you can't apply a username/password to the object call
    like you can when using <cfinvoke> to make a web service
    call.
    FYI Adobe: this is VERY limiting, I have to use a web service
    that uses in/out parameters which to the best of my knowledge
    requires the use of createObject() but at the same time the web
    service requires a username and password which I can only do with
    <cfinvoke>. Looks like I will be writing a compiled custom
    tag just for a workaround.
    According to the docs you can provide a username and password
    by passing a struct containing these items to CreateObject
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_18.html#45 14398
    If you like cfinvoke use it. You can get return values by
    using the returnVariable argument. I would assume mutliple output
    parameters would be returned in a struct.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_10.html#4001127

  • Configuring Basic Authentication with Username and password on BizTalk Schema Service

    Hi,
    I have published my schema as a webservice with WCF-BASICHTTP adapter in IIS 8.0.
    I wanted to have a Basic Authentication(User name and password restriction).
    I made the Receive location with Security mode as Transport and Transport Client Crediential Type as Basic.
    I also set the Service in IIS with Basic Authentication only enabled.
    But I don't know how to provide a UserName and Password Authentication.
    Please provide your suggestions
    Regards, Vignesh S

    Hi,
    Try & go through the below MSDN link as it explains configuring WCF BasicHttp adapter very well.
    http://msdn.microsoft.com/en-us/library/bb246064(v=bts.80).aspx
    HTH,
    Sumit
    Sumit Verma - MCTS BizTalk 2006/2010 - Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

  • [Maybe solved] Repeated prompts for username and password on HTTP(S)

    I'm new to IOS but I'm taking ICND 1 and ICND 2 to catch up. I've gone as far as configuring a 3560 switch from "scratch" in a test environment, and am in part one of ICND 2.
    Setting this switch up for HTTP administration, I've been prompted repeatedly for my username and password both when using a browser directly and when using Cisco Network Assistant (currently 5.5). This is different from the production switches I'm working with, that will prompt me once only and let me work. At first I suspected this was because I'm trying to use SSL and an in-house certitficate authority to sign the switch's certificate, but this is happening in plain HTTP as well.  If I'm persistent enough, I eventually get the pages or configuration screens I want.
    The difference between the production 3560s and my testing one, is the test one uses IOS 12.2(53), the current version.  The production ones use 12.2(25)SEE3 through 12.2(35)SE5 and probably everything in between.  I'm also experimenting with the releases that includes the web-based device manager on my test switch, but the behaviour is similar whether the image has the web-based manager or not.

    In an update to this problem, I've reverted the switch I've been testing back to 12.2(35)SE5, which is what the majority of my production 3560s use. It appears to behave in the same fashion: Repeatedly asking for credentials over HTTP(S).
    While my non-production switch has a local user database set up, my production switches use two ACS servers.  The relevant bits of the running config are:
    aaa new-model
    aaa group server tacacs+ mcbhtacacs
    server 10.1.2.221
    server 10.1.2.222
    aaa group server radius mcbhradius
    server 10.1.2.221 auth-port 1645 acct-port 1646
    server 10.1.2.222 auth-port 1645 acct-port 1646
    aaa authentication login default group mcbhtacacs local
    aaa authentication login LOCALAUTH local
    aaa authorization exec default group mcbhtacacs
    aaa accounting send stop-record authentication failure
    aaa accounting exec default start-stop group mcbhtacacs
    aaa accounting commands 1 default start-stop group mcbhtacacs
    aaa accounting commands 15 default start-stop group mcbhtacacs
    aaa accounting system default start-stop group mcbhtacacs
    aaa session-id common
    tacacs-server host 10.1.2.221 key 7 [censored]
    tacacs-server host 10.1.2.222 key 7 [censored]
    tacacs-server directed-request
    radius-server host 10.1.2.221 auth-port 1645 acct-port 1646 key 7 [censored]
    radius-server host 10.1.2.222 auth-port 1645 acct-port 1646 key 7 [censored]
    radius-server source-ports 1645-1646
    Another switch that does work without repeated prompting has these relevant bits:
    aaa new-model
    aaa group server tacacs+ mcbhtacacs
    server 10.1.2.221
    server 10.1.2.222
    aaa group server radius mcbhradius
    server 10.1.2.221 auth-port 1645 acct-port 1646
    server 10.1.2.222 auth-port 1645 acct-port 1646
    aaa authentication login default group mcbhtacacs local
    aaa authentication login LOCALAUTH local
    aaa authorization exec default group mcbhtacacs local
    aaa accounting send stop-record authentication failure
    aaa accounting exec default start-stop group mcbhtacacs
    aaa accounting commands 1 default start-stop group mcbhtacacs
    aaa accounting commands 15 default start-stop group mcbhtacacs
    aaa accounting system default start-stop group mcbhtacacs
    aaa session-id common
    tacacs-server host 10.1.2.221 key 7 [censored]
    tacacs-server host 10.1.2.222 key 7 [censored[
    tacacs-server directed-request
    radius-server host 10.1.2.221 auth-port 1645 acct-port 1646 key 7 [censored]
    radius-server host 10.1.2.222 auth-port 1645 acct-port 1646 key 7 [censored]
    radius-server source-ports 1645-1646
    10.1.2.221 and 10.1.2.222 are the ACS servers, running ACS 4.1 and are linked to a pair of Active Directory domain controllers.
    Aside from host names, these two switches appear to have an identical AAA configuration.  So why would the first switch repeatedly ask for credentials over HTTP when the second switch with the same software does not?

  • Configure a Cisco router with Username and Password.

    Hello Guys,
    Am quite new in cisco and i need to configure an 891 cisco router,can someone please show me step by step configuration commands for configuring Username and Secret Password.I would like the router to ask for "Username"and " Password" anytime i want to login the router through telnet.I also want to know if i have to erase the default configurations on the router first, before i start the configuration,and how it should be done in other not to loose the router whiles working on it.Thanks for your usual quick responds.
    Regards,
    Eben.

    Hello Eben,
    Peter has suggested to use SSH because of the fact that telnet data is sent in clear text, so someone with the right tools could easily find your password and your device could/would be compromised. It is security best practice. SSH is encrypted.
    Technically speaking you do not need to change the hostname / domain name. But majority of Cisco documentation follow this method.
    In case you are interested on how to do this without change... see below.
    Router(config)#
    Router(config)#crypto key generate rsa modulus 1024
    % Please define a hostname other than Router.
    Router(config)#crypto key generate rsa modulus 1024 label CISCO
    The name for the keys will be: CISCO
    % The key modulus size is 1024 bits
    % Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
    Router(config)#
    *Jul 11 13:27:51.431: %SSH-5-ENABLED: SSH 1.99 has been enabled
    Router(config)#
    The normal cases just as shown in Cisco documentation, the parser (without a label on the crypto key) would force us to change the hostname, create a domain name. I think the domain name is there to put a label on the keys.
    Router(config)#crypto key generate rsa general-keys modulus 1024
    % Please define a hostname other than Router.
    Router(config)#crypto key generate rsa
    % Please define a hostname other than Router.
    Router(config)#hos
    Router(config)#hostname ISR
    lexnetISR(config)#crypto key generate rsa general-keys modulus 1024
    % Please define a domain-name first.
    ISR(config)#ip domain name net.com
    ISR(config)#exit
    ISR(config)#crypto key generate rsa general-keys modulus 1024
    The name for the keys will be: ISR.net.com
    % The key modulus size is 1024 bits
    % Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

  • SOAP Lookup with username and password

    I am doing a lookup using a Java UDF from PI message mapping using a SOAP receiver channel by passing a username and password to get a value from a webservice. This is passed to a field in the target side. Everything works fine.
    But I want to avoid hardcoding the username and password sent in the XML for the lookup in the UDF. Anyone has any suggestions?
    Thank you.

    Hi Param,
    Are you passing the userid and password in url of SOAP Lookup?  You can try using value mapping to get the password for a given username..
    Else maintain it in SOAP channels and for each user id try selecting a different SOAP channel..  HEre also you can use value mapping for userid = soapchannel relationship.
    Regards
    Suraj

  • PI as Webservice provider - URL with username and password

    Dear Experts,
    I need to test my webservice in PI from a SOAP client like XMLSpy or SOAPUI.
    I tested the URL from the browser. It prompted for the username and password and worked.
    How do I pass the username and password in the URL when I call this from the SOAP clients?
    I tried the following format:
    http://<server:5xxxx>/XISOAPAdapter/MessageServlet?channel=:<bs>:<soap sender channel>&sap-user=<username>&sap-password=<password>
    I still got a 401 Unauthorized response back.
    Any ideal please?

    Hi
    1) testing through XML Spy
    In your WSDL file provide URL in -
    <soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
    While sending request to server,it will ask XI/PI user id and password itself. The user id must have authorization to invoke web service.Better take SAP_ALL or PIAPPLUSER authorization in this id.
    2) You can pass user id and password also in this URL
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>
    Try both the options.
    Best Regards

Maybe you are looking for

  • Select statement problem?

    hi, may i know if the select statement can work if can satisfy in the where? i check the tablex entry for where clause and it is correct but i do not know why no data collected. any reason? thanks internal table it_tab with fields below fielda fieldb

  • How to improve the performance of adobe forms

    Hi, Please give me some suggestions as to how to improve the performance of adobe form? Right now when I' am doing user events it is working fine for first 6 or 7 user events. From the next one it is hanging. I read about Wizard form design approach,

  • How do I activate my purchased Adobe Acrobat XI Pro for Win?

    How do I activate my purchased Adobe Acrobat XI Pro for Win now that it is downloaded and installed?  Was having internet issues when prompted and now can't find?

  • Creating events without sending email - 2005Q4

    I would like to create events (admin function) for groups of users and NOT have any mail sent. Is there a way to do this? Thanks

  • How to connect with database

    Hi All, i just finished BI installation 10.3.2 on 10g database. Can any one please inform me what steps i have to do more to access the 10g database by my BI application. I searched there is not sql*net or tnsname connection string in B I application