Description:
Networking and communications under Linux.
|
|
|
SCTP multi-homed retransmissions
|
| |
Firstly, if this is not the correct group, I apologize it seemed the closest match. My question involves a SCTP multi-homed scenario. It seems a colleague and I are at a little bit of disagreement.
The scenario begins with retransmitted control chunks before the association is setup. There are two multi-homed endpoints (a1, a2) -> (b1,b2). Due to a routing problem b1 is not reachable from a1, but it is from a2. Also, a1 is reachable from b1 and b2.... more »
|
|
wpa_cli cannot connect to wpa_supplicant.
|
| |
When I run wpa_cli status or wpa_cli -i wlan0 status, I get an error
which says
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory wpa supplicant is running root 1142 0.0 0.0 6064 3176 ? S May07 0:01 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant.conf -u -P /var/run/wpa_supplicant.pid -f /var/log/wpa_supplicant.log -t... more »
|
|
ifalias of a network device
|
| |
Hello,
I tried:
ip link set em1 alias myalias and cat /sys/class/net/em1/ifalias
gives:
myalias
I also tried:
ifconfig p2p1:0 1.2.3.4
but:
cat /sys/class/net/p2p1/ifalias
gives nothing.
what is the difference between the two ? is there a way that I will set an alias with ifconfig so I will see it in /sys/class/net/em1/ifalias?... more »
|
|
QOS for AP and Router ...
|
| |
All,
I've got a router and a 30' run of cabling to another router configured as an access point (lan-to-lan, no DHCP, etc). Working well, but would like to model network traffic. Both devices have QOS. Got some questions:
1) Suppose there are two router-set QOS quotas: 80% and 20% to IP .100 and all others, respectively. Let's call this SSID ROUTER.... more »
|
|
Invalid argument for sendmsg() with ancillary data (IPv4)
|
| |
I'm looking for strategies for debugging a case where sendmsg() fails with "Invalid argument." The code below is producing that error.
I can't think of how to go about debugging it. I looked at the values of various parameters such as dst, src, data, datalen, outpack, etc., and it all looks correct.... more »
|
|
Is bash.sh compiled or interpreted?
|
| |
My previous query has exposed much of my confusion.
Pascal B's smpt.sh:-----------
...<initialise variables>
cat>$message
(
read line 0<&3 ; $trace "$line">$log
case "$line" in 2*) ;; *) echo "QUIT" 1>&3 ; exit 0 ;; esac
echo "HELO $local_name" 1>&3
read line 0<&3 ; $trace "$line">$log... more »
|
|
Compensating or bad network?
|
| |
I'm trying to see if it's possible to use GoogleWiFi, a free (but badly broken) wireless network in my neighborhood. I'm using an exterior wifi device on my roof to connect to the GoogleWiFi network, and have a SNR in the mid 40s. The signal itself is -32 or so. I ran a cable to connect the external device into my wifi router inside (Linksys running dd-wrt). The free Google WiFi network, however, is frought with problems including broken packets, etc. Despite my 54 connection speed, I'm often getting throughput in the 0.10 to 0.20mbps range.... more »
|
|
iptables string match
|
| |
Is it possible to match a string in nat table PREROUTING? I suspect PREROUTING only sees new connections, so the content of the packet cannot be examined.
If not in nat, can mangle be used to mark packets matching a string> If so, can such a marked patcket be DNATted? How?
-- buck
|
|
|