Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
31 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
0
votes
1answer
52 views

-bash: auto: command not found

I'm going to config my network interfaces and run this command: auto eth0 but it returns -bash: auto: command not found. It seems I've missed something which I don't know. Any idea? What should I ...
1
vote
0answers
17 views

Change of Network Interface using Metrics

I want to achieve dynamic interface change between eth0 and wlan0, one solution I am looking into is to change interface metric. Different than this question, I don't want to make any change to ...
1
vote
1answer
19 views

how to use tc with htb on arch-linux

I'm trying to use this tc script on my arch box. Specifically, the first line, roughly equal to tc qdisc add dev eth0 root handle 1: htb default 3 fails with RTNETLINK answers: Operation not ...
1
vote
1answer
28 views

How to find bandwidth usage/bytes transmitted/received within a certain time frame

I'm looking for a way to get numbers on bandwidth usage of an eth port. But I need to filter the results to only show me numbers for the last 24 hours. Or any time period in hours or minutes. Just ...
0
votes
1answer
19 views

SUSE 12 setting up virtual network interface

I'm struggling to setup virtual eth interface on Suse 12 When I run: ipconfig eth0:1 10.0.0.2 netmask 255.255.255.0 Output from ifconfig is as expected: eth0 Link encap:Ethernet HWaddr ...
1
vote
0answers
29 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
0
votes
2answers
39 views

Connection Timeout for ssh connection depending to the ip location?

I have a machine where I can connect it using ssh from different networks. But when I have moved to other country I have not be able to connect it. What may be the cause? I am able to ping the server ...
0
votes
0answers
17 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
0
votes
0answers
23 views

command line tool group chat utility under linux

I am working on mac osx Yosemite. I want to reach to a user under a certain IP address. (It might be local network or thru internet). I want to do it thru terminal using the default tools that ...
2
votes
0answers
19 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
1
vote
1answer
39 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
1answer
18 views

How to effectively capture traffic on port 5060 between specific time internals?

users. I want to capture traffic on port 5060 for one week in a file, than wants wireshark to rotate file and start capturing for next week with a different file name. I know little about tshark, ...
1
vote
1answer
27 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
1
vote
1answer
51 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
0
votes
1answer
31 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
0
votes
1answer
88 views

Laptop connected to wifi but no internet

For some reason my wifi has decided to stop working. I can connect to APs, I can have excellent signal strength, but I can't actually load any web pages or ping anything. I know it's my laptop because ...
0
votes
0answers
43 views

Creating an open wifi acess point for April Fool's Day which I want the client can only visit the login/splash page, but not working

I bought a Hiwifi J2 (Chinese) router, and sysupgraded to OpenWrt (not official version, but a patched version based on OpenWrt Barrier Breaker: https://github.com/rssnsj/openwrt-hc5761). Then ...
2
votes
1answer
34 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
1
vote
0answers
42 views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
1
vote
0answers
19 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
0
votes
1answer
32 views

Apple Home Sharing on a Linux machine

Is it possible to share a directory with media files to an Apple TV (Gen 2 & 3) using Home Sharing on a Linux machine? I've found some solutions suggesting DAAP but none of them seems to be for ...
2
votes
2answers
56 views

Is it possible to have multiple virtual machines with the same (guest) ip on the same host?

What I try to achieve: Multiple virtual machines (virtualbox) on a Debian host which communicate with another server (not with each other or the host). All VMs need to have the same static network ...
2
votes
1answer
37 views

Why does scp not show true upload speed?

Every time I'm trying to upload a file using scp on my slow upload connection (~100kb/s), it shows something like : test 27% 2208KB 2.2MB/s 00:02 ETA On the first ...
1
vote
3answers
60 views

how to automate creating firewall rules?

There is a complex live system - few vlans. In each of them there are linux servers, and on every server there are services. Services connect together - for example service http on host A connect to ...
1
vote
1answer
86 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
1
vote
2answers
64 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
0
votes
0answers
29 views

How do you create an ip alias using iproute utils?

While reading the O'Reilley book on Apache Web Server, they gave an example on using ifconfig to set ip aliases on an interface: ifconfig ep0 192.168.123.2 ifconfig ep0 192.168.123.3 alias netmask ...
3
votes
1answer
64 views

Why is my DAD slow?

The last few boots of my Arch Linux, I noticed I had no network access. I'm using a netctl profile to give my adapter a static IPv4 address, which by itself works fine. So I had a look at the logs, ...
1
vote
1answer
26 views

What is a hotplug event from the interface?

According to Debian Network setup document allow-hotplug <interface_name> stanza in /etc/network/interfaces file starts an interface when the kernel detects a hotplug event from the interface. ...
0
votes
1answer
25 views

Connect through different interfaces to the same server

i have two pppoe interfaces - ppp0 and ppp1. I would like to reach the same server on both interface. I added the desired ip address to the route table: route add 10.88.40.13 ppp0 And I could ...
2
votes
3answers
67 views

One-liner for getting an IP address of an internal DNS name?

I have an internal DNS name for which I'd like to get the IP address. Is there a nice Bash one-liner I can issue to convert internalip1.mydomain.com into 10.10.10.10?
0
votes
0answers
39 views

How can I configure multiple tap interfaces for a single KVM virtual machine

I am trying to setup a VM using Linux KVM for a F5 BIG-IP VE deployment (used in a lab) ...
1
vote
0answers
14 views

Transport keyboard/mouse events to a keyboard/mouse-less remote host

I want to send keyboard and mouse events from a small ARMv7 computer board to a remote one, which has no keyboard nor mouse. I'm planning to send these events on a locally implemented CAN bus. The ...
1
vote
1answer
22 views

I need dhclient to flush IP address/routes when link goes down

I am running one Ubuntu Server 14.04 with network configuration using /etc/network/interfaces and so ifup/ifdown scripts. I realised that if I configure one interface in DHCP mode, then I unplug the ...
1
vote
1answer
36 views

How do I run a program without network access? [duplicate]

I am making a program that scrapes information from some web services. I want to test how my program reacts when it can't reach the web service, like if the web service is down or if the local ...
0
votes
0answers
19 views

how do I disable the firewall through YaST?

The fine manual states: The Start-Up section defines how your firewall will start. You can either have the firewall start automatically when booting (recommended), or you can set the firewall ...
4
votes
1answer
64 views

what is “rfc3442-classless-static-routes” in /etc/dhcp/dhclient.conf

I am trying to debug DHCP on my laptop (I am using dhcping and dhcdump to see what the DHCP server sends back). Following is my /etc/dhcp/dhclient.conf. option rfc3442-classless-static-routes code ...
2
votes
2answers
88 views

How to print from a given range of ip addresses every class-c with the last octect replaced by an asterisk

example: I have a range from 10.0.100.0 to 10.0.224.0 and I want the output like this: 10.0.100.* 10.0.101.* 10.0.102.* and so on
0
votes
0answers
59 views

can't connect to remote host with MySQL…firewall problem?

I've granted privileges to thufir for remote access through the shell (correct?), but cannot seem to actually connect. The router firewall has SPI to off. I've disable the IPv6 firewall on the ...
0
votes
1answer
32 views

WiFi only connects to my router, not to any other access point

I have a Raspberry Pi 2 with a WiFi USB dongle. I don't know the brand or model, I got it for free with my Xtreamer Mk1 in 2009. My Windows 7 PC installs some generic Realtek RTL8191SU WLAN adapter ...
0
votes
0answers
31 views

eth0/usb0 bridge breaks after removal and replacing android phone

I'd like some help with a networking bridge issue I've run into. I'm trying to make a bridge with eth0 and usb0 (my android phone). After running the brctl commands the bridge works wonderfully. But ...
1
vote
0answers
12 views

shared filesystem with offline access

I would like a shared filesystem with offline access. I have two machines. One is a light laptop with a small amount of SSD storage that I carry with me. The other is a stay-at-home computer with much ...
1
vote
1answer
45 views

Test for open TCP port in bash script

I want to delay the script execution until a certain server process is ready, which it is once it accepts incoming TCP connections. How do I test if a local TCP port is open (I get a SYN/ACK answer)? ...
4
votes
2answers
249 views

Using bash's `/dev/udp`, how would I know if the port was open?

I do not have access to netcat or nmap so I'm trying to use bash and the /dev/udp/ special files to test ports. I could do something like: echo "" > /dev/udp/example.com/8000 But $? is always 0 ...
0
votes
0answers
32 views

Dropped connections with b43 driver using Broadcom BCM43228 wireless chip on Arch Linux

I managed to get my wireless working with the b43-firmware package in the AUR and for at least a month it worked perfectly. However, recently the internet connection has been dropping out. I'm ...
1
vote
0answers
12 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem. Think netem.) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB ...
1
vote
0answers
99 views

Make docker containers accessible via vpn

I have three physical machine A, B, C, each of them has docker installed. I want to install openvpn server on machine A, and install openvpn client on B and C. B and C will connect to A. I want to ...
0
votes
0answers
28 views

how to set a route and firewall for a static ip

These directions on setting the static ip address for vicidial seem at once very specific and overly broad: Type 'yast lan' and press ENTER Optionally, you can type 'yast' and navigate to the ...
0
votes
1answer
66 views

why can't I ping Google with a static IP address?

I'm trying to install vicibox, an OpenSUSE distro which includes Asterisk. The fine manual says to set a static ip address with yast lan. What's the difference between: ││[ ] Change Hostname via ...