I am really stuck and i need help urgently


Recommended Posts

/etc/NetworkManager/system-connections "ssidNoPassword"

 

I am using this command to attatch to a network but the problem is it deletes the profile with that SSID I need to set a static to it (all has to be automated process)

 

any help? I either need to set a static in the above command or open up a connect profile via command ... help would be appreciated

 

 

Link to comment
Share on other sites

I am curious what your trying to accomplish as well.  What linux are you running for starters would help.

 

logging into a wlan network could be as simple as this /etc/network/interfaces

 

allow-hotplug wlan0

iface wlan0 inet dhcp

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 

You can setup static if you want.. conf file has the info in it you want to use

 

example

 

cat /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

network={

ssid="yourssidhere"

psk="yourpskhere"

proto=RSN

key_mgmt=WPA-PSK

pairwise=CCMP

auth_alg=OPEN

}

 

This is on my raspberry pi running Raspbian, If I plug in my wired interface then it uses that and wifi is disabled. If I don't have it on wired it logs into wifi.

So some details of this automated setup you want and what your wanting to do it on and sure we can get you fixed up.

  • Like 2
Link to comment
Share on other sites

  • 1 month later...

so sorry it took me SO LONG to reply to this....but I was busy I solved this issue by making a temp dhcp server as it was the static causing me issues (little bit cheat but oh well it worked)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.