Tag Info

Hot answers tagged

6

If sudo and its graphical derivates gksu and gksudo are not working any more, the easiest solution is to use pkexec instead to open a command-line editor like nano and correct the wrong entries in the specific configuration files (like /etc/hosts or /etc/sudoers). Note that pkexec works for terminal applications, but needs special configuration to run GUI ...


2

You can use "Zenmap": sudo apt-get install zenmap There is the possibility to filter by operating system. You can use "nmap" sudo apt-get install nmap sudo nmap -O --osscan-limit --max-os-tries 1 <your_ip_range> There you have still looking for Linux.


2

Try this: Open Unity Dash, search Network, and open the resulting app. Select your LAN adapter and then click "Options..." in the lower right corner. Go to the "IPv4 Settings" tab. Under the "Methods" dropdown, select "Shared to other computers." That should hopefully do it.


2

1) Could be a possible bug, the MAAS UI should support multiple entries. 2) You'll need to make your changes within /etc/bind/maas/named.conf* as those files are included into the top level named options.


1

Do the following: Edit NetworkManager.conf by executing: gksudo gedit /etc/NetworkManager/NetworkManager.conf Comment out dns=dnsmasq with "#" reboot.


1

To restore the symbolic link /etc/resolv.conf -> ../run/resolvconf/resolv.conf, execute the command sudo dpkg-reconfigure resolvconf at a command prompt. If you are configuring your Internet-facing network interface using the ifup utility (whose configuration file is /etc/network/interfaces) then add nameserver information to the corresponding stanza in ...


1

This solution worked for installing Ubuntu from local network. https://help.ubuntu.com/community/Installation/LocalNet


1

The address 127.0.0.1 is the loopback address. As you have the 127.0.0.1:7788 in the "Local Address" of netstat output, this means that the connection is only listening for connections originating from this computer only on the loopback interface. No other computers on the network can reach your loopback address directly hence the telnet is failing from ...


1

java is listening in 127.0.0.1, that is localhost. You can't connect from outside, unless you do some kind of forwarding, using ssh for instance. Edit: from external hosts, if unix/linux ssh -L 1234:127.0.0.1:7778 runtime then from that external host, telnet 127.0.0.1 1234 (ssh will forward you) if windows, use putty or bitwise to forward local ...


1

You could try macchanger available in the repositories. Install with sudo apt-get install macchanger or through Ubuntu Software center. $ macchanger GNU MAC Changer Usage: macchanger [options] device Try `macchanger --help' for more options. tvbox@tvbox-G31M-ES2L:~$ macchanger --help GNU MAC Changer Usage: macchanger [options] device -h, --help ...


1

if ubuntu 14.04 Desktop or Server, you can restart you network by: sudo -i ( ifdown $(ifquery --list -X lo|xargs echo) && ifup $(ifquery --list -X lo|xargs echo) )&


1

I guess if you comment out these lines it should start fine. ddns-update-style none; default-lease-time 600; max-lease-time 7200; authoritative; log-facility local7; option broadcast-address 192.168.1.255; option routers 192.168.1.254; #option domain-name-servers-192.168.2.1; #option domain-name "ttc.com"; subnet 192.168.1.0 netmask 255.255.255.0 { range ...


1

I had the same problem and fixed it using the command: sudo iwconfig wlan0 rate 54M


1

The iptraf utility is another way to monitor the traffic, provided by the iptraf package. sudo apt-get install iptraf installs it. iptraf is available in Red Hat Linux also; run yum install iptraf as root to install it.


1

This is all about routing and straight forward. The Router/Bridge has to have the Ubuntu Wlan0 as a default gateway Your friends machines need the Ubuntu Wlan0 as a default gateway and get it possibly from the router/bridge (as I don't know the hardware capabilities, you might want to install openwrt on that thing if possible). The Ubuntu machine has to be ...


1

You can delete the /var/lib/dhcp/dhcp.leases file. A good time to do it would be just after a re-boot, before any clients obtain a lease. The dhcpd server will try to re-use old leases as much as possible, and will use unused IP addresses from the pool before using even expired leases. The advantage is users will tend to get the same IP address, even if ...


1

Use this: #!/bin/bash hosts=( $(nmap -sP 192.168.6.0/20 | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+") ) for ip in "${hosts[@]}"; do rsync -a /location/to/file.txt user@"$ip":/where/to/put/ done Here i have relied on nmap to check which hosts are up, the output can be wrong in some cases due to firewall issues. At first i have saved the active IP ...


1

You should add the route to PC#3 (the one with IP address 192.168.2.101): route add -net 10.0.0.0/13 gw 192.168.2.21 Or you can edit your network connection to automatically include a static route when the connection is established (IPv4 Settings tab -> Routes button):


1

Note: I'm posting this workaround as an answer due to the number of times this has been reported as a bug only to expire shortly thereafter and resurface again. Enter Ubuntu recovery mode: a. Power on system and press "Shift" during boot up for GRUB menu. b. Choose "Advanced options for Ubuntu" > Ubuntu, [kernal version] (recovery mode) Choose "root" and ...


1

It's probably because of different filesystems used. For example, Ubuntu uses ext4 by default, while USB drives generally use FAT32 and Windows uses NTFS. ext4 has some unallowed charcters: NUL (\0), / and the special file names . and .. (Wikipedia). The reason / is unallowed is because it's used for directories, and ext4 would probably get confused between ...



Only top voted, non community-wiki answers of a minimum length are eligible