Tag Info

New answers tagged

0

I thought the best is to use pre-up script which have all variable you need: /etc/network/if-pre-up.d/ Check for example: /etc/network/if-pre-up.d/wireless-tools Sadly, NetworkManager/dispatcher has not implemented it. See: /etc/NetworkManager/dispatcher.d/01ifupdown # pre-up/pre-down not implemented. See # ...


1

There is a directory /etc/network/if-up.d. Scripts in this directory are runs when new connection are established. I write script that checks connection mode of wifi network and if it's Open or WEP connection is dropped. #!/bin/bash encryption=$(wpa_cli status | grep pairwise_cipher | cut -d "=" -f 2) wifiname=$(wpa_cli status | grep -w ssid | cut -d "=" ...


0

A summary of the steps found on their website (please note the link contains pictures to help you and are very similar for Ubuntu - the difference really is just the way the GUI looks, e.g. network icon is on the top right for Ubuntu, and instead of a Windows-like start menu, we have the dash): ...


-1

I wonder where you downloaded that from? https://support.cyberghostvpn.com/index.php?/CGVPN/Knowledgebase/Article/View/393/0/devices-that-support-cyberghost-vpn I don't see the download there for linux? Anyway I'm looking to install it as well, but got stuck real fast.


0

Change permissions access to Network Manager Delete all open wifi from configuration Check connect automatically to your wifi configuration, and enforce the configuration by adding mac address of your ap. How do I ban a wifi network in Network Manager?


0

I see the only one way to do it. You can disable Network Manager and setup specific wireless networks in /etc/network/interfaces. If you setup your interface there, NM will stop managing the interface automatically.


0

So I wasn't able to actually solve the problem, I just re-installed from the same install disk, re-followed the steps from link '1' in my original post and it seems to work fine now. From user Wild Man at that link: Please do: sudo apt-get update sudo apt-get install firmware-b43-installer Reboot This seemed to work fine. I think the problem ...


0

On Kubuntu 15.04 cloned mac address still does not work with Network-Manager gui. It does however work with the command line but NONE of the advice listed above worked for me since it's outdated. I'll show two ways to do this I discovered from various sources and trial and error. METHOD I In this example I will use 'wlan0' as the wireless interface I want ...


0

First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems). As for your problem, you need to find out where the problem come from. You can try to ...


1

If you are running a system with systemd, check out this post: http://unix.stackexchange.com/a/126146/130303 If you are running an "older" ubuntu version (14.04), check here: http://superuser.com/a/248671


1

You can add default gateway with command by the ip address sudo ip route add default via xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx - represent ip of vpn server or by interface sudo ip route add default dev ppp0 This can be done manually from terminal when you are connected to vpn. Second solution is to make script to chance default gw when vpn is connected ...


0

I just reset BIOS to default settings. To get in BIOS press F10. Problem solved.


1

For a 64-bit system: Download these files to your home folder: http://mirrors.kernel.org/ubuntu/pool/main/b/b43-fwcutter/b43-fwcutter_018-2_amd64.deb http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 Then run in terminal: sudo dpkg -i b43-fwcutter_018-2_amd64.deb tar xfvj broadcom-wl-5.100.138.tar.bz2 sudo b43-fwcutter -w /lib/firmware ...


1

You can try: sudo ifconfig eth0 down sudo ifconfig eth0 up (substitute eth0 with your network card) but Arronical is right in theory: You don't need it.


2

You don't need to restart any services. When tested on a 14.04 server installation, the changes were reflected immediately. The only service that I think could be related is 'networking', but it's unnecessary to restart it.


0

The problem is resolved. Even if there is this message, the networt card are available after the installation. Sorry to have bothered you for nothing Regards, Jerome


1

Network Manager manages its own static routes - open network manager and select "wired connection 1". Select edit. select IPv4 tab. At the bottom of this page is a button for "Routes". That is where you add them. When done NM writes to a file with root permissions in its /etc/NetworkManager/system-connections/ directory called "Wired connection 1" Example ...


0

I don't known how to set this option in NM but you can add script in /etc/ppp/if-up.d/ to make default route to ppp0 interface every time when go up. Make script called script with execute permissions 755 sudo nano /etc/ppp/if-up.d/script # Check for specific interface if desired [ "$IFACE" != "ppp0" ] || exit 0 # Do something sudo route add default dev ...


0

Problem is in adding a default gateway. When use this connection only for resources on its network is checked your default gateway is 192.168.1.1. When use this connection only for resources on its network is unchecked your default gateway is 0.0.0.0 Also when you are connected to vpn resource witch is routed trough ppp0 interface is only one host ...


1

I also have 'use this connection only for resources on its network' ticked. This might be the problem. To use a connection only for it's ressources means, that you address only services inside this vpn through that vpn. If you connect to a website, which is apparently not inside this network, it is not a local ressource and will not be connected through ...


0

I have followed the below steps and my problem solved. Remove dnsmasq: apt-get remove --purge dnsmasq Comment out dns=dnsmasq by putting # in /etc/NetworkManager/NetworkManager.conf. Comment out the local DNS address. Comment out prepend domain-name-servers 127.0.0.1; by putting # in /etc/dhcp/dhclient.conf Update resolvconf: resolvconf -u Restart ...


0

First off all: thanks for a very elaborate question! :-) Couple additional ones (question/remark): is the switch (where LAN-interface is connected to) connected to the router as well? I ask this because LAN- and WAN-address are in the same "network" 192.168.8.x ? This might create packet-loops (ie. router gets request from LAN-ip for web, wants to return ...


0

You can fix it by running in terminal sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1" then reboot. You can revert it by sudo rm /etc/modprobe.d/iwlwifi-opt.conf.


0

wicd-curses will do what you ask. It will function similar to a GUI based network manager but in the console as the question title implies.


0

On my Arch Linux, I needed to run following command and now NetworkManager starts up automatically: systemctl enable NetworkManager This enables the NetworkManager to be run at startup. This is what I understand.


0

I had the same problem 2 month ago. I decided to contact Sergey Prochorov, autor of network manager plugin for l2tp. He answered me that "I'm now stop supporting l2tp plugin, since I just don't use it in my everyday life." After many days I switched to Fedora. But unfortunately also in Fedora there is possible to connect only using terminal and some bash ...


0

The problem is with glitchy Realtek driver r8169. Many reported that disabling autonegotiation helps. You can turn it off by using the following command: sudo ethtool -s eth0 speed 100 duplex full autoneg off


1

You can see the connected devices using nmap: nmap -O hotspotIP -O detects the OS of the device. Why not set up a password for your wifi hotspot, tell those that you allow to connect the password, and that's it. Otherwise, you can set it up a MAC address filter, placing the MAC addresses of those that you allow to connect in the whitelist. Anyone not in ...


1

network manager -> Edit connection -> select wifi -> Edit -> Wifi-security -> change Key or change SSID or password key from config file sudo gedit /etc/NetworkManager/system-connections/wifi-name


0

In my humble opinion, the reconnection is automatic but probably passwords are not stored properly. Network-manager prompt for the password, that means it is trying to connect, otherwise it will just stay silent. You can open the 'Edit Connections' window of network-manager and check whether passwords are stored. (Image copied from Where does ...


0

If you have synaptic installed you can select network-manager and network-manager-gnome and use the generate package download script to download it and all dependencies on a machine with internet access, put them on a USB stick and install them using sudo dpkg -i *.deb in the folder where you run the download script.


2

host doesn't use /etc/hosts but only queries the DNS servers in /etc/resolv.conf or given at the command line.


0

Today I've encountered the same problem again. I've tried running sudo dhclient -r wlan0 and then sudo dhclient. First time it worked, but on second one the dhcp client on my machine started declining all IP addresses in range. I've connected with static IP to my router and reset dhcp lease table, then ran sudo service network-manager restart and lo and ...


0

To avoid the popup, you can disable the PIN on your SIM card. As an alternative to using gsmctl as in the accepted answer, you can use qmicli. Assuming your PIN is 1234: sudo apt-get install libqmi-utils sudo qmicli -d /dev/cdc-wdm0 --dms-uim-get-pin-status sudo qmicli -d /dev/cdc-wdm0 --dms-uim-set-pin-protection=PIN,disable,1234 sudo qmicli -d ...


0

Try using the --ask flag: nmcli --ask con up id MyVPN I've dropped sudo because it is probably unnecessary (and dangerous).


0

You write: «When I connect, resolv.conf has both the server and the domain search, along with the dnsmasq entry of 127.0.1.1.» This is improper behavior. NetworkManager should give the nameserver address(es) to dnsmasq and not submit them to the resolvconf utility (which manages resolv.conf) and/or write them directly into /etc/resolv.conf. NetworkManager ...


1

You must be more precise. Generally answer is to enable firewall. Ubuntu buildin firewall is ufw With command sudo ufw enable you will block all inbound traffic. Then you can allow traffic from only one host on port 80 with command sudo ufw allow from ip_address_of_host to any port 80 or allow only port 22 on server from any host sudo ufw allow ...



Top 50 recent answers are included