Tag Info

Hot answers tagged

16

From Why iproute2?: Most Linux distributions, and most UNIX's, currently use the venerable arp, ifconfig and route commands. While these tools work, they show some unexpected behaviour under Linux 2.2 and up. For example, GRE tunnels are an integral part of routing these days, but require completely different tools. With iproute2, tunnels are an ...


16

I wonder what each interface is. lo0 = loopback gif0 = Software Network Interface stf0 = 6to4 tunnel interface en0 = Ethernet 0 fw0 = Firewire en1 = Ethernet 1 vmnet8 = Virtual Interface vmnet1 = Virtual Interface Something like that. Also, which of these is the IP interface ? There hasn't been "the" IP interface since many years ago. All of ...


16

Neither Windows or Linux is aware of its external IP address, so they cannot natively let you know. So you have to use an external service to find out what the IP address is. Under linux, you can use curl and one of the many services that let you know what your address is: $ curl ip.alt.io 123.123.123.123 There are equivilent options for Windows, such ...


5

you likely have your machine set to DHCP at boot... do: sudo vi /etc/sysconfig/networking-scripts/ifcfg-eth0 change BOOTPROTO to BOOTPROTO="static" then add in your settings... mine looks like this: DEVICE="eth0" BOOTPROTO="static" BROADCAST="192.168.254.255" DNS1="192.168.254.25" GATEWAY="192.168.254.254" HWADDR="F2:24:08:AE:93:10" ...


4

A Google search for What's my IP address works quite well. Your public IP address is ##.###.###.178 You can also get some information about your network to give you a good idea about what is going on. Using tools like netstat, traceroute, ssh or telnet you can figure out how you are getting on the puplic network of the Internet. There are the ...


4

There are several possible reasons.  Different interface types One possibility: ifconfig delegates printing of the hardware address to the interface implementation. Actual printing is performed by a function in the interface struct for the specific interface in net-tools-1.60 (from here), called by lib/interface.c, line 678: printf(_("HWaddr %s "), ...


4

The ip command is part of the iproute2 collection of utilities. According to the Linux Foundation the ifconfig command should be deprecated, but most distros still include them. iproute2 also contains the tc (traffic control) command. See usage information by using the $ man ip command. There was a discussion about this on serverfault last year.


3

The script /etc/vpnc/vpnc-script is called on various events, including connect and disconnect. This sounds like you are using ubuntu or debian. If you are, the scripts /etc/vpnc/vpnc-script-disconnect-action and /etc/vpnc/vpnc-script-post-disconnect-action are called for the relevant events. You can create those files if they don't exist, and put ...


3

(This assumes that you are running Mint, and that Mint didn't change anything from Debian on this matter) You need an auto line: auto eth1 Otherwise, the interface will not be handled by the init.d/networking script. This way, the interface is started when networking is started, reconfigured if networking is reloaded/restarted and stopped when ...


3

Any routing table which has multiple default routes with equal metrics does load balancing. The case with a mac though is that it will select the first interface which is in the interface list. If you want to see and change the list, go to "open network preferences", here you will see a list of network interfaces like ethernet, airport, ppp through mobile or ...


2

http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/ there are extended directions at the bottom of this page using the "ln" command. it will work on 10.6.6 after you wait for "connection timeout" error when joining a fake ssid.


2

The IP address listed in ifconfig is that applied to the network adaptor itself. The differing IP address present on your Google search is most likely due to Network Address Translation configuration on your router/firewall translating your RFC1918 source IP to the "WAN" or "public" IP address provided by your ISP.


2

Macs are based on BSD, not linux, so there are some differences. in this case, bsd uses 'enX' for interface names, instead of 'ethX'. As for the IP address, @Big Perm is correct, your router (or your ISP's hardware) is using NAT to translate your local address into a public IP address, which is what google sees.


2

I suggest you read this (or the whole page, which is very well written): http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network#re_starting_a_network_interface You can run ifconfig ... up or down to activate/deactivate an interface. But this doesn't configure the interface which is necessary to connect. As stated in the slackbook page you linked ...


2

I am not sure if I understand correctly. But you have 1 Wireless gateway and 3 Devices connected to it? So doing ifconfig only shows PHYSICAL hardware/connections on the PC that ran the command - not the connections available or other device. ifconfig stands for interface configuration An interface if a virtual or physical layer on the computer that ...


2

ifconfig shows you interfaces. I.e., you might see an entry for each wired (physical) connection, and one for your wireless. What ifconfig does not show you is connections. You might be serving hundreds of file transfers to as many connected systems via ethernet, and you would still only see that one ethernet card in ifconfig.


2

ARP for windows arp -a ARP in most linux/unix/bsd distros arp-scan --interface=eth0


1

The nameserver should be placed in /etc/resolv.conf, exactly as you have it above. Also, add the domain name used in the local network, to avoid having to use fqdn for lookups: domain local nameserver 172.16.61.2 Replace local with whatever your local domain is.


1

Reading file /usr/local/share/munin/plugins/if_ (in port sysutils/munin-node) I see it's using the following command line to achieve just that : /usr/bin/netstat -i -b -n -I $INTERFACE PS: that file also contains a warning that those are 32 bit counters; some years ago I RTFS and verifier that's because it's easier to update atomically; I didn't verify if ...


1

Network interfaces operate at layers 1 and 2. The Ethernet protocol operates at layers 1 and 2. Since you're setting the MTU on the interface I'm assuming you're setting it for whatever layer 2 implementation you're using (since layer 1 doesn't deal with the encapsulation of data into frames, packets, segments, etc.). Setting the MTU on the inerface is ...


1

Your machine doesn't know your external address. You have to use an external service and fetch the results (e.g., checkip.dyndns.org). You can use any command line HTTP clients as wget or curl: $ wget -q -O - checkip.dyndns.org <html><head><title>Current IP Check</title></head><body>Current IP Address: ...


1

I suspect that modprobe is successfully loading rt73, as can be confirmed with lsmod but that rt73 is failing to attach to hardware as will be complained about in dmesg | grep rt73. The kernel will load the module so long as the kernel side of the module is happy, but if the module can't find its devices, nothing will happen. If the driver has failed to ...


1

IP is a newer subset of commands that is meant to take the place of ifconfig, some examples: ip link show List network interfaces ip link set dev eth0 name wan Rename interface eth0 to wan ip link set dev eth0 up Bring interface eth0 up (or down) ip addr show List addresses for interfaces ip addr add 1.2.3.4/24 brd + dev eth0 Add (or del) ip and ...


1

You can try this if you have chroot and mount command in the Andriod's busybox. (If not, just add them and rebuild the busybox.) Untar a full Linux filesystem into a disk (networked/nfs) in Android. Mount it chroot to that system You should now have a new shell with full Linux capabilities. I have a lot of luck and fun with the rootfs from here: ...


1

[rooted] assuming wlan0 ...(to find driver) airmon-ng | awk '/wlan0/ {print $4}' ...or airmon-ng | awk '/wlan0/ {print $3}' ...or just airmon-ng ..and look under 'driver' ...(to restart driver) ifconfig wlan0 down modprobe -r rt2800usb <=Replace (rt2800usb) with your driver modprobe rt2800usb <=Replace (rt2800usb) with your driver ...


1

for eth0: sudo ifconfig en0 192.168.100.0 netmask 255.255.255.0 route add default 192.168.100.1 may need to be changed a little if it isn't the default route. edit: fixed the route, also don't generally use the zero address for a node in the network... unless you know what you are doing.


1

Usually, 'sysctl' is used for tuning TCP parameters. I looked through the output of sysctl -a and while I don't see anything that might be an exact match, there are a few possible parameters. I must point out that BSD and Linux differ greatly in their internals, and there might not be an analogous txqueuelen adjustment. (ie: the paradigm may not ...


1

These are subinterfaces and a method of adding additional IP addresses along with their subnets to an interface. The part after the colon is arbitrary. iptables cannot reference subinterfaces, so any rules required would be based on IP addresses, but bound to the physical interface if required.


1

This is intentional. The aliases were added because in IPv4 you could usually only have one IP address on an interface. The aliases were added to work around that. With IPv6 multiple addresses per interface are very normal so the aliases are not used anymore. The ifconfig tool is not the easiest tool to manage this though. The ip tool makes this much ...



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