Author Topic: NetworkManager  (Read 696 times)

Offline holdencaulfield

  • New Friend
  • *
  • Posts: 4
NetworkManager
« on: November 10, 2012, 04:28:19 PM »
Hi!

So let me hit my PCLOS adventure here. I have only wired internet in my dorms, but the problems occur when trying to establish a connection. The thing is, i have to download a permission file with a .pem ending, and then in networkmanager set the type of connection to 'tunneled tls', input my .pem file and username and password. Now this KDE's network manager i'm not familiar with, so i'm just wondering how to set the connection up in PCLOS so i could try it out and update it and so on.

Thanks in advance and best wishes to all!

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: NetworkManager
« Reply #1 on: November 10, 2012, 04:56:15 PM »
hello and welcome to the forum

is it a wpa2 enterprise security wifi network?

i know it asks for a couple of files but i never had chance to use it

supposedly the files must be provided by the network admin

if you are on your house and set it, wpa2 enterprise is too much i thing, wpa2 personal with tkip aes is enough, what i use here
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline CaptainSarcastic

  • Sr. Member
  • ****
  • Posts: 328
Re: NetworkManager
« Reply #2 on: November 10, 2012, 05:27:38 PM »
Just to be absolutely clear, you are talking about WIRED networking, and NOT wireless, correct?

Can you see the content of the .pem file?  In my experience, a proprietary network is usually set up more or less like a proxy server, and the permissions can be set manually.  Usually you need to know the proxy server's IP address, the username and password, and configure appropriately.

Most of the results when I searched on ".pem in Linux" were regarding ssh and tunneling, particularly into Amazon.

In my memory, I do not recall ever working with .pem files or similar things on locked-down networks, but I have had to set up the server information as though it were a proxy.

Offline holdencaulfield

  • New Friend
  • *
  • Posts: 4
Re: NetworkManager
« Reply #3 on: November 10, 2012, 07:45:52 PM »
hi and thx for the responses.

yes, it's a wired network. and i really don't have a clue what else i could write except the above mentioned  ;D is there any way then maybe to use network manager in pclos?

i know how to set up the network, but i have a problem here because i don't know how to find the right settings. maybe this would work (originally for opensuse):


    You have to configure "wpa_supplicant". From our servers download digital certificate and save it somewhere on your computer. You can do this by copying and running following four lines in the terminal window.

        su
        wget http://navodila.sd-lj.si/sites/default/programs/stud-dom.pem
        cp stud-dom.pem /etc/ssl/
        rm stud-dom.pem

    Open file "/etc/wpa_supplicant.conf" with text editor:

        nano /etc/wpa_supplicant.conf

    Delete all other content from the file and copy the following lines. Do not forget to replace identety and password field with your username and password. Save and close the file.

        ctrl_interface=/var/run/wpa_supplicant
        ctrl_interface_group=0
        eapol_version=1
        ap_scan=0
        fast_reauth=1
        network={
            key_mgmt=IEEE8021X
            eapol_flags=0
            eap=TTLS
            anonymous_identity="anonymous@sd.uni-lj.si"
            ca_cert="/etc/ssl/stud-dom.pem"
            phase2="auth=PAP"
            identity="jankok@sd.uni-lj.si"
            password="geslo"
        }

    Because this file contains your password you have to change the file permissions to:

        sudo chown root /etc/wpa_supplicant.conf
        sudo chmod 600 /etc/wpa_supplicant.conf

    Run the following lines of code in your terminal window. This will enable to autorun wpa_supplicant each time you start your computer.

        cd /etc/sysconfig/network/scripts
        wget /sites/default/files/programs/ifup-wpa_supplicant.
        chmod +x ifup-wpa_supplicant

        ln -s ifup-wpa_supplicant ifstatus-wpa_supplicant
        ln -s ifup-wpa_supplicant ifdown-wpa_supplicant

        cd /etc/sysconfig/network/if-up.d
        ln -s ../scripts/ifup-wpa_supplicant

        cd /etc/sysconfig/network/if-down.d
        ln -s ../scripts/ifdown-wpa_supplicant

    The system is now configured. If one hour has already passed from the time you entered MAC address in the web application you should have a working internet connection. But before you can start using it you have to run two more commands:

        ifdown eth0
        ifup eth0

    To check if everything is ok run "ifconfig eth0" command; output will be similar to the one bellow (in the second line after the "inet addr:" IP addres should be different form 10.X.a.b):

        eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
         inet addr:13.2.15.190 Bcast:13.2.15.191 Mask:255.255.255.192
         UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
         RX packets:226746 errors:0 dropped:0 overruns:0 frame:0
         TX packets:171933 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:100342043 (95.6 Mb) TX bytes:23785810 (22.6 Mb)
         Interrupt:18 Base address:0x7800




?



Thank you again.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: NetworkManager
« Reply #4 on: November 10, 2012, 07:52:17 PM »
but you are mentioning wpa_suplicant with a wired connection

a wired connection doesn't use wpa keys because it is not broadcasted on the air

a internet connection on a Ethernet adapter in linux is connect and off you go

i never had to do anything on linux to connect that way, maybe put a dns but that is only on weird cases with weird isps
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline holdencaulfield

  • New Friend
  • *
  • Posts: 4
Re: NetworkManager
« Reply #5 on: November 11, 2012, 12:53:13 PM »
ok, me, an idiot, forgot to ask of the XFCE version is running network manager for connecting to the web?

Thanks!

Online muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: NetworkManager
« Reply #6 on: November 11, 2012, 02:19:10 PM »

@T6
i think he is trying to setup some sort of an encrypted tunnel over the wired network,a VPN in other words and pclinuxos network tool is not generic enough to do what he wants to do since the VPN setup tool specifically deals with openVPN and cisco VPN.

I also think its possible to do so in network manager but i do not think it is using pclinuxos network tool.

@holdencaulfield,
NetworkManager is in the repository,if you could somehow manage to go online,install it and you should be able to use it and configure it the way you already know how.

pclinuxos network manager is simply called "pclinuxos network center" and the applet that sits on the tray area is called "netapplet"
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10644
  • MLUs Forever!
Re: NetworkManager
« Reply #7 on: November 11, 2012, 05:19:27 PM »
Quote
NetworkManager is in the repository

Is it?

I do not seem to be able to see it .....   or maybe I am looking for the wrong package ...  :(
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: NetworkManager
« Reply #8 on: November 11, 2012, 05:45:40 PM »
Quote
NetworkManager is in the repository

Is it?

I do not seem to be able to see it .....   or maybe I am looking for the wrong package ...  :(

i checked before i posted and it was listed as installed on my system.

I just checked closely and it is listen in the "installed(local or obsolete)" section so i think it was removed at some point after i installed it.

So,it doesnt seem to be present anymore in the repository.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..