Tag Info

New answers tagged

0

A quick google for "association took too long, failing activation" came up with this: https://bugs.launchpad.net/ubuntu/+source/gnome-nettool/+bug/1311257 Try running "killall wpa_supplicant" There are some simple scripts in that bug report that can automate it on resume.


1

I suggest you put a question into your Question so that it becomes clear what you're asking. If you're wanting to determine the authentication method, here are a couple of approaches. Boot your Windows system, connect, and then take a look to see what authentication method it has used. On Windows 8.1 right click the Network Icon (bottom right), open the ...


2

Most probably /etc/ppp/ip-up.d is the location you are looking for. My example is valid on Gentoo Linux but the same directory structure seems to exist on Arch. Every time a VPN connection is made /etc/ppp/ip-up is run, which typically executes /etc/ppp/ip-up.d/* in turn. Its first argument is the attached pppn device. Put this script under ...


3

With KVM (but not Xen) you can now use Macvtap instead of bridging. So you don't actually have to tear down the host's network stack and bring it back up with a bridge. Macvtap works by piggybacking on an existing ethernet interface. It will make your ethernet interface listen on an additional MAC address and it will "steal" the incoming packets addresses ...


1

There are (at least) two different concepts here, routed vs. bridged setups. If by virtual bridge you mean one that does not have eth0 (or any NIC) as bridge port, you're looking at a routed setup where you don't have to delete the default configuration for eth0, but you have to set the proper routes for everything. In a bridged setup on the other hand, ...


2

Yes, you should definitely use tcpdump -n dst host gmail.com instead of tcpdump -n dst host <ipaddress of gmail> . This is because gmail.com has multiple IP addresses (I count 5 from my point of view: 4 v4 and 1 v6) and giving the name to the filter will automatically match all of them. Otherwise you have to specify a much longer filter that ...


1

iwconfig wlan0 essid your_network_name sets the ESSID your card should attempt to connect to. If there are multiple hotspots with the same name, the card would attempt authentication with all of them until it finally associates and authenticates with the right one. This is optional, given that you provide your BSSID using sudo iwconfig wlan0 essid NETWORK ...


2

Okay after searching some more, and focusing on the driver problem i came up with this: echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf sudo modprobe -rfv ath9k sudo modprobe -v ath9k I have no idea what it does, but it worked!


0

The Kernel has a driver for whatever bus the port is on (PCI, USB, PCMCIA -- actually that one's more complex and nobody uses it anymore, so forget PCMCIA). That driver has mapped the registers on that bus (this is different from a CPU register) to memory and keeps a watch on them. When a cable is plugged in, ethernet hardware changes its registers and the ...


0

I can only really answer the "extra question". "How to detect the signal when a cable is connected". So, assuming 10*/Base-T, there is a kind of a carrier signal that the device detects and makes that information available to the device driver. The device driver will typically send a message via the kernel logger that "ETHX: LINK DETECTED". That information ...


0

There are two reasons such zip files are password-protected: Someone doesn't want you to have access to it. To bypass spamware/malware filters. In this case, the bypassing makes it suspect. A quick google search indicates there are plenty of firmwares out there from official sites. Why do they password-protect the firmware?? Hrm. The password mechanism ...


0

Why did you remove the R8169-driver? It should have worked with your card since late 2006.


0

Is it correct, you want to use your eth10 interface as source interface to make ping 192.168.1.133? If yes, you should use ping command with -I option and specify source IP address, or source interface name. Here is an example: ping -I 192.168.1.150 192.168.1.133 or ping -I eth10 192.168.1.133


0

You can solve this by clicking the "Connect to hidden network" button and giving it the name of the network you want to connect to. Tested on Linux mint 17 "Rebecca"


1

CentOS 7 /usr/share/doc/initscripts-9.49.24/sysconfig.txt says: No longer supported: PROMISC=yes|no (enable or disable promiscuous mode) ALLMULTI=yes|no (enable or disable all-multicast mode) So for enabling you have to run: ip link set ethX promisc on Or if you want to happen on boot you can use systemd service rc-local. Put the above line in ...


1

you can use tcptrack more info can be found at http://manpages.ubuntu.com/manpages/dapper/man1/tcptrack.1.html you'll find a detailed description of all connections and eventually select specific app connection


0

The route problem may be that you were using eth0 initially and so there was a default route for that interface. You may need to do an ifdown eth0 if this happens again, in order to get rid of the unwanted route. I will also add that I have found USB wifi adapters to almost universally crappy, and even more-so in Linux (due to closed-source drivers). I ...


0

Assuming you install the drivers (or the OS already has the drivers) for this device, it should work just fine. I've seen similar devices in use for precisely this purpose.


1

You basically want dstat to provide you with an average over a given time (say 120 secs). This works exactly the same as vmstat or ifstat, the first argument is the delay, which means the given time to provide averages over. Default is 1 second. So this should do: dstat -n 120 or for given interfaces eth0 and eth1, do: dstat -n -N eth0,eth1 120 or for ...


0

You could add these lines in your /etc/rc.local : ip link set dev "eth1" down ip link set dev "eth2" down ip link set dev "eth3" down Unless it is a too basic or static solution...


0

try the mount options: gid=ownerGroupID,uid=ownerID


1

You could set the new router to connect to the Hotspot in Repeater mode. Set the routers ip to be in the same subnet as your main router. Then either 1) add a virtual wireless interface with the same SSID as your wireless network and connect those routers with WDS, or depending on location of the routers 2) connect them via ethernet. At that point you can ...


3

You can also try python -m SimpleHTTPServer 8180 It will serve the files in directory in which it executed over HTTP, you can access it via Browser.


6

If you're happy with netcat you can work around the file name issue by intruducing tar. This also simplifies sending multiple files at once as well as sending directories. On the sending side use: tar cf - <files> | nc <host> <port> And on the receiving side: nc -l <port> | tar x Another solution would be to use rsync or scp.


1

Of course ssh works if another session is open. You can just do ssh user@host cat /path/to/file.tar > localfile.tar Or, to copy to your local directory: scp user@host:/path/to/file.tar .


15

You're complicating your life needlessly. Use scp. To transfer a file myfile from your local directory to directory /foo/bar on machine otherhost as user user, here's the syntax: scp myfile user@otherhost:/foo/bar. EDIT: It is worth noticing that transfer via scp/SSH is encrypted while transfer via netcat or HTTP isn't. So if you are transferring sensitive ...


0

The IP network layer doesn't know if a tcpwrapper is blocking the connection. Even when tcpwrapper blocks, the network port will appear as "open". Example with sshd being blocked via hosts_access: $ nc -w1 -v -z host.example.org 1234 nc: host.example.org (192.168.0.130) 1234 [1234] open $ ssh -p 1234 host.example.org ssh_exchange_identification: read: ...


0

/etc/services is a conffile, so if you modify it locally and a new package version is installed with a modified version, dpkg will ask you whether to keep your version or install the new one. Unfortunately, it won't give you an easy way to merge your changes. You can divert the package-provided /etc/services and provide your own. dpkg-divert --add --local ...


0

Simply use below in command line. echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all


1

This seems to come up in various bugtrackers from time to time: Debian #46049, Debian #711001, RH #133683. But none of these seem to be implemented. To recap: the Name Service Switch reads /etc/nsswitch.conf where to look for e.g. services information: $ strace -f -e open,stat getent services > /dev/null [...] open("/lib/x86_64-linux-gnu/libc.so.6", ...


0

Unfortunately there is no way of doing this. One option would be to "Hold" the netbase package so that it doesn't get updated automatically. echo "netbase hold" | dpkg --set-selections Another option might be to declare an /etc/services.local and submit a patch to the netbase maintainer that merged this file and its own /etc/services. I don't see that ...


0

Schools and enterprise organizations usually use WPA2 Enterprise and PEAP combination as the security protocol and authentication method respectively. You will have to configure this. Assume Elementary OS uses Network Manager to manage network connections, click the network icon. Next Click "Edit Connections..." from the drop-down menu. You should see a ...


1

The problem is that you're telling your machine that both interfaces should be handling traffic to the rest of the world. You see this in the last two lines of your routing table. If I've understood you correctly, it's the interface that gets its information from DHCP that's connected to the internet, and the other one is only connected to 192.168.56.0/24. ...


0

Create a network namespace and move one of interfaces into it: ip netns add test ip link set eth1 netns test Start a shell in the new namespace: ip netns exec test bash Then proceed as if you had two machines. When finished exit the shell and delete the namespace: ip netns del test


0

Many school/college network auth systems don't play well with certain browsers. I know Midori is the default on Elementary OS so download Firefox and try loading up a page in this after connecting. EDIT: Ok, just to cover the obvious, if you're switching OS's a lot this might be down to something as silly as misconfigured keyboard.. Try typing the network ...


2

from http://manpages.ubuntu.com/manpages/utopic/en/man8/ifenslave.8.html # modprobe bonding # ifconfig bond0 192.168.0.1 netmask 255.255.0.0 # ifenslave bond0 eth0 eth1 however, you have to be sure the same bonding protocol is also set on remote equipment. There are seven modes for bonding configuration. These affect which non failed interface will ...


3

It means that you are using the same IP range on both interfaces, or overlapping IP ranges. For example: Interface IP Address Subnet Mask eth0 192.168.2.10 255.255.255.240 eth1 192.168.2.2 255.255.255.252 It causes an overlapping because, according to the subnet mask: eth0 is in the range 192.168.2.0 - 192.168.2.15 ...


2

Bonding is not suited for such configuration. It is meant to be used on the same subnet. You probably could use ECMP (Equal Cost MultiPath) routing to achieve what you want. Some ECMP tutorial Your tutorial suggest creating a VPN through each of the WANs and bonding those VPNs. That is possible as well, though I'd say it's kind of ugly. To do that, you ...


0

As many people have suggested screen and tmux I'd like to share a comparison of them: screen vs tmux. They both support basic functionality, but have distinct specific features, so one can't say that one is superior to another in all cases. For example, only tmux supports Window-splitting, while only GNU screen can toggle long line wrapping with (Ctrl+a r). ...


1

You could rent some cheap VPS servers that are positioned around the world and run traceroute yourself from those servers back to your website. AWS allows you rent per minute. Another option would be to search for "traceroute online" there are a large number of websites that allow you to run a traceroute from a remote server. Examples: ...


0

I did a ip route flush cache and I was able to ping and SSH. Still can't https, but I believe that is the network firewall. Thank you all for the help.


1

The ? (10.2.0.200) at <incomplete> on eth0 entry is a normal behavior when the machine cannot be reached (is the machine powered on?) If the destination machine has something in the IPTables, for example, it's blocking the ICMPv4 request, you will see a complete entry in the arp table because the traffic was discarted but it has reached to the host. ...


0

I checked. The issue was with thr firewall. Iptables was not registered as a service. So issuing a firewall command to allow from my ip worked. Command used was: iptables -I INPUT -p tcp -s xxx.xxx.xxx.xxx --dport 3306 -j ACCEPT


1

First off, I usually create a second sshd process with its own configuration file. (sshd -f /etc/ssh/sshd-2222.conf for instance) or by overriding the configuration on the command-line (sshd -p 2222 -o PasswordAuthentication=no,AllowRoot=no). This way they share the same keys, etc, but you can override any of the parameters. Any ideas why this happen? ...


0

From write(2), Errors       ⋮ EAGAIN or EWOULDBLOCK The file descriptor fd refers to a socket and has been marked nonblocking (O_NONBLOCK), and the write would block.  POSIX.1-2001 allows either error to be returned for this case, and does not require these constants to have the same value, so a portable application should check ...


1

No, there is not a way to do that. That would break the very concept behind separation of network namespaces. There is one and only one way to "escape" that separation, and it's veth interfaces. In a little bit more detail, it wouldn't just be a matter of somehow "sharing" a loopback interface between network namespaces. Each network namespace is logically ...


1

My /etc/dhcp/dhclient.conf file uses the following configuration, notice the supercede line # Configuration file for /sbin/dhclient, which is included in Debian's # dhcp3-client package. # # This is a sample configuration file for dhclient. See dhclient.conf's # man page for more information about the syntax of this file # and a more comprehensive ...


-1

Mine was resolved from command. $ sudo service firewalld stop Better to check following for 'No route to Host" issues. service iptables status service firewalld status getenforce 1 and 2 should be stopped or added required rools. 3 is to check selinux status


2

Try this on when launching qemu -redir tcp:2222::22 $ ssh -p 2222 localhost The tcp:2222::22 flag in the qemu launch command maps the 2222 port of the host machine to port 22 (the default ssh port) on the virtual machine. Then, simply sshing to the 2222 port on your localhost (the host machine) will redirect any traffic into the ssh 22 port in the ...


-1

I have a set up of Adapter 1 = NAT = eth0 Adapter 2 = Bridged Adapter = eth1 Under Oracle Linux (RHEL/ CentOS) I run the Network Connections application and set eth0 to a fixed IP address and set eth1 to Automatic DHCP When you do a ifconfig I see that both eth0 and eth1 have inet addresses set and communication from the HOST to GUEST work and from ...



Top 50 recent answers are included