General :: Get IP Address / Ifconfig And Ip Addr Show Are Not Working

Apr 23, 2010

This should be simple, but the machines we ssh into don't seem to have the regular commands.Are there any other simple ways I can use to get my IP?

View 7 Replies


ADVERTISEMENT

General :: Application Besides Ifconfig To Change MAC Address?

Aug 13, 2011

I have to change my MAC address in order to get an IP lease via DHCP. But almost no installer CDs have ifconfig and dhclient.

ifconfig eth0 down
ifconfig eth0 hw ether 00:22:15:C0:27:23
ifconfig eth0 up
dhclient eth0

Is there any way to change a MAC address within Debian or Ubuntu installer CDs?

View 2 Replies View Related

General :: Ifconfig Alias Address Assigned By DHCP

Aug 13, 2010

I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP using the command:
ifconfig eth0:0 192.168.1.11 up

View 5 Replies View Related

General :: IP Address Lookup - Where Are The Interface Configurations (set By Ifconfig, Not The Static Ones) Stored

Jan 28, 2011

where are the interface configurations (set by ifconfig, not the static ones) stored? I'm asking because I'm trying to understand, more broadly, the order of IP address lookup. If I ping the local machine (localhost, or one of the interfaces) no messages get sent out (at least according to wireshark), so some local lookup must be taking place.

View 1 Replies View Related

Ubuntu :: Ifconfig Command - How To Get IPV4 Address

May 31, 2011

When doing the ifconfig command I only receive the IPV6 address. How do I specify that I need the IPV4 address???

View 3 Replies View Related

Networking :: Ifconfig Address With A Port Number?

Sep 24, 2010

I'm trying to grok a problem I'm having with an embedded machine. I'm pretty sure I can track down the larger problem, but I came across a usage of ifconfig that I don't understand, and I'm pretty sure this is the command that is failing.

The command is: ifconfig eth0 192.168.78.20:9134

I understand how ifconfig works. What I don't understand is the :9134. I can't see anything in the docs about what this means. I know in most contexts it's a port number, but what does it do when bringing up a network interface? Does it limit it to only using port 9134?

View 1 Replies View Related

Programming :: Finding IP Address: Nslookup Or Ifconfig

Oct 14, 2010

I am trying to find IP address. In a socket programming tutorial, I found :

Code:
$ nslookup localhost
command. It gives me a address. However, one colleague told me :

Code:
$ ifconfig

It also returns me inet_addr. But both are different. Kindly tell me the correct method to find IP address? I have also checked the /etc/hosts file but it says "localhost"

View 2 Replies View Related

Ubuntu :: Integrated Ethernet Card Died - IP Address Registering Under Ifconfig

Jul 7, 2011

it was working but after i installed updates and rebooted it could not get a ip address seems like strange timing it still registers under ifconfig it is not even working on the live usb anyway i can test to be sure it is the chip?

View 3 Replies View Related

OpenSUSE Hardware :: Linksys WUSB600N And 11.2 - Ifconfig Doesn't Show A New Network Interface

Jan 24, 2010

I have a laptop running 11.2 with an internal Broadcom-based Wi-Fi card that's working fine. I'm trying to get 802.11n going with the WUSB600N. The USB ID on this device is 1737:0079. I believe this means it's a "V2" with an RT3572 chip.

No driver loads for this device when it's plugged in. If I do a "modprobe rt2870sta", a driver loads, and syslog shows "rtusb init" and "usbcore: registered new interface driver rt2870". But ifconfig -a doesn't show a new network interface. I've also tried building the RT3572 driver from the manufacturer's web site. It builds fine, and modprobe will load it, but I get the same results as the rt2870sta driver.

View 1 Replies View Related

Ubuntu Servers :: Dns Server Started With 2 NIC Cards - Bios Sees Both Cards But - Both Dont Show In Ifconfig

Dec 1, 2010

I have a dns server started with 2 NIC Cards in it. The bios sees both cards but they both dont show in ifconfig. is there a way to activate the second card?

View 1 Replies View Related

Networking :: Wireless Network - Sudo IFConfig WLAN0 Not Working

Mar 15, 2011

I have got Ubuntu 10.10 on a Dell Inspiron Laptop. Can't get anywhere with wireless network. Tried a few bits of poking it blindly with a stick:

matthew@ubuntu:~$ lshw -C network
Warning: you should run this program as super-user.
*-network
Description: Network controller
Product: BCM4312 802.11b/g LP-PHY
Vendor: Broadcom Corporation
Physical id: 0
Bus info: pci@0000:0c:00.0
Version: 01
Width: 64 bits
Clock: 33MHz
Capabilities: bus_master cap_list
Configuration: driver=b43-pci-bridge latency=0
Resources: irq:17 memory:f69fc000-f69fffff
*-network .....

I reckon *-network DISABLED is a problem, I tried sudo ifconfig wlan0 up but that didn't work. The output of that and lspci are on the ubuntu side of my machine. I have also tried pressing my wireless on/off key (F2) but that doesn't work either.

View 8 Replies View Related

General :: Can't Access Virtual "inet Addr" From Host

Mar 20, 2011

I created a Virtual WebServer (I used CentOS as guest) by using VirtualBox to test my website. When I typed "/sbin/ifconfig" to get "inet addr" it showed 192.168.56.101. I used a web browser from my host (Fedora 14 GNOME) to access 192.168.56.101. It was good, It displayed "Apache 2 Test Page". But I accessed 192.168.56.101/mysite it redirected to 127.0.0.1/mysite and showed error page.

View 1 Replies View Related

General :: Show The Current Local Working Directory In Ssh?

Feb 15, 2011

this is gonna be changed to another thread

View 1 Replies View Related

General :: Command To List Ip Address Of Working Computers On LAN?

May 28, 2010

Are there Unix/Linux commands to find out the IP address of running computers on LAN?

View 4 Replies View Related

Networking :: What Is Command To Show Host Name Of Ip Address?

May 25, 2010

What is the command to show the host name of the ip address?Suppose, I've an ip address like 209.191.122.70, now I want to know its host name.What is the command for that?

View 7 Replies View Related

Software :: Need Command To Show Host Name / IP Address

Jun 16, 2010

I need a command that can show me the HOST-NAME as well as ip-address in a single stress.

View 4 Replies View Related

Programming :: Shared Memory - Should They Show The Same Address?

Mar 17, 2010

So I'll try to be brief and to the point here: I've got a couple of C / C++ apps that communicate with one another via shared memory. These worked completely fine until.. well, about twenty minutes ago when I finished making some network card changes and suddenly, I've got a weird problem going on. At one point, Parent app waits for Child app to set a boolean indicating it's finished initialization. This worked fine the last time I ran this app up (a few days ago). But right now, the shared flag never seems to get triggered (I've added a printf("Waiting..."); in Parent app until the flag is set). All the code leading up to it being set in Child app seem to be running smoothly, so I tried spitting out the addresses of the shared memory locations. The addresses mapped by Parent app and Child app are different; this seemed odd, so I went back and wrote a simple miniature app that just opened a shared structure on my own box, and I get the same thing - different addresses - but the miniature apps work just fine.

Is it normal for a shared memory space to be mapped to two different addresses across two processes?

If so, does anyone have any idea what might be the issue at hand with my Parent / Child app scenario? The Child creates the shared memory, the Parent has a wait before it opens it, and if it doesn't exist should fail (opening with PROT_READ | PROT_WRITE)... it doesn't fail so it's evidently there.

All of this worked until literally just a few hours ago and I made some changes to my network cards, and I can't even imagine how that could have changed whether or not shared memory mapping worked...

View 2 Replies View Related

Networking :: How To Make Outgoing Traffic Show From Different IP Address?

Nov 4, 2009

I have a Linux IPTables firewall on Centos 5.3.It has one physical interface to the internet and 2 internal interfaces to a DMZ and TRUSTED zone respectively.There are 10 virtual interfaces linked to the physical public interface.Emails are being sent from my server in the DMZ out to the internet, but it is being shown as coming from the firewall IP address.It must show as coming from one of the virtual interfaces.

View 4 Replies View Related

Fedora Networking :: Broadcast Addr Incorrect On Boot?

Aug 16, 2011

I'm using F15 with two nics, each on different subnets 192.168.1.0/25 and 192.168.1.128/25. My issue is that on boot my 192.168.1.2/25 interface sets a broadcast address of 192.168.1.255 which is incorrect I believe. Its broadcast should be 192.168.1.127. I've tried setting the broadcast param in ifcfg-p3p1 file "BROADCAST=192.168.1.127" with no benefit.I can change this after boot of course, but that removes my default gateway for some reason.

View 2 Replies View Related

Fedora X86/64bit :: Create A Script To Show The Last Time Iptables Had Seen A Given IP Address?

Jun 20, 2009

i was trying to crate a script to show the last time iptables had seen a given IP address (contained in the ipt_recent kernel hook -- my user-defined table name is 'iplist'). The ipt_recent table yields the following information (IPv4 addresses masked for paranoid reasons):

Code:

src=www.xxx.yyy.zzz ttl: 114 last_seen: 9355600126 oldest_pkt: 1 9355600126
src=www.xxx.yyy.zzz ttl: 109 last_seen: 10020040763 oldest_pkt: 1 10020040763
src=www.xxx.yyy.zzz ttl: 111 last_seen: 8106864077 oldest_pkt: 3 8103790647, 8106530788, 8106864077
src=www.xxx.yyy.zzz ttl: 109 last_seen: 9937861664 oldest_pkt: 1 9937861664
src=www.xxx.yyy.zzz ttl: 115 last_seen: 8244867102 oldest_pkt: 1 8244867102

The attempted command used was:

Code:

cat /proc/net/ipt_recent/iplist | awk '{print ($1 ,system("date -d @" $5));}'

Such command yields the following (I'm willing to live with the trailing zero):

Code:

Wed Jun 20 05:48:46 EDT 2266
src=www.xxx.yyy.zzz 0

[code]....

I presume the ipt_recent table uses the standard UNIX epoch timestamp. Am I using the date command syntax incorrectly, is this a 32-bit vs 64-bit break, or it is something else? Please note that I am using FC10, and I have double-checked my system clock settings (both BIOS and OS). The system has only been running during 2009 (no reboot yet).

View 2 Replies View Related

OpenSUSE :: Nautilus Address Bar Doesn't Show Filesystem Path / Text Location Bar

Aug 22, 2010

I have openSUSE 11.3 Gnome installed. The nautilus address bar shows the "Button Bar" and if I press Ctrl+L it swaps to the "Text Location Bar". The Text Location bar is where you see the full path to the directory that you're viewing.But I can't set the default addressing to the Text Location Bar.What else should I do to get the text location bar (i.e. the full path) to be the default view in the address bar?

View 4 Replies View Related

Ubuntu :: Open Office - OO Doesn't Show The 'ADDRESS DATA SOURCE' At The Bottom Of The List

Dec 12, 2010

I am using Open office 3.2 with Ubuntu 10.10. Trying to get it set up to print out the Christmas address labels. To register the data source its 'FILE'> 'WIZARDS' then' ADDRESS DATA SOURCE.' But OO doesn't show the 'ADDRESS DATA SOURCE' at the bottom of the list, so I am stuck. Apart from that, I have had no problems with ubuntu and its working well.

View 1 Replies View Related

Ubuntu Networking :: Losing (dropping) Wireless Connection After Changing MAC Addr?

Aug 8, 2011

Sorry if this has already been solved;answered anywhere else - I tried looking it up but to no avail. The problem persists & the hints I found around the forum did not provide a solution to the case, neither other net solutions i looked up I run Winblows at the lab and sometimes take my Ubuntu PC with me. There is an open Wireless network where they set MAC permission, and there's no pwd to access. It so should be fairly easy to change m MAC and access it, right! No. I run ifconfig and macchange, successfully change my MAC addr BUT the connection drops! Then if I change it back (MAC to my original address) it goes back online. And yes, I shut down the service -- "ifconfig wlan0 down" and then up..WHAT ON EARTH am I doing wrong??? No webpages touch this 'trouble-frigging-shooting instance!

View 2 Replies View Related

Networking :: Unable To Add Reverse Map From 10.1.168.192.in-addr.arpa. To Tftpadmin-desktop.bbnl?

Nov 9, 2010

I am trying to learn dns on my ubuntu 8.When the client tries to register is see the following error in the syslogunable to add reverse map from 10.1.168.192.in-addr.arpa. to tftpadmin-desktop.bbnl.iNot sure where i am going wrong. If somebody can help me out here, that will be a great help.the configurations are as follows

tftpadmin@bbnldmn:/etc/bind$ cat named.conf.local
//
// Do any local configuration here

[code]....

View 1 Replies View Related

General :: My Ifconfig Is Broken

Apr 8, 2010

I am running centos 4.5 Kernel. 2.6.18

My ifconfig is broken. and i dont know how to fix it.

I go into /sbin and i see the file but when i try and execute the command is says bash: ifconfig: command not found.

The permissions on the file are as follows:

View 11 Replies View Related

General :: Using Ifconfig Without Using 'ethX'

Jul 1, 2010

I'm a relatively inexperienced with Linux, coming from a Windows background, and I struggling to solve a troublesome issue attempting to set a static ip address to a Live Debian USB Key. I know it is possible to utilise the 'ifconfig' function to set a static ip address and use 'route' to set the gateway, e.g.

ifconfig eth0 10.0.0.40 up
route add default gw 10.0.0.130 eth0

..however in both cases I need to explicitly set the 'eth0' to point at the appropriate adapter. However, this is where my problem is...

I'm creating a persistent USB key using the Debian Live CD, I'm going to create an image and then duplicate that image to a load of other USB keys. Again, not a problem as such but there are cases where I need to specify a static IP address and gateway rather than using DCHP.

And here's where problem raises its head.

Because I've created the key on another machine it has allocated 'eth0' to a specific MAC Address (assigned in /etc/udev/70-persistent-net.rules) but when I place it into machine with a different network adapter it is assigning to 'eth1' (and this increments up).

a) call 'ifconfig' and 'route' without having to identify the adapter or

b) change the script that is creating '/etc/udev/70-persistent-net.rules' so it overwrites the 'eth0' entry with the only applicavle network adapter for the current hardware.

View 4 Replies View Related

General :: Grep IPs From Ifconfig Output?

Mar 6, 2011

Following is my ifconfig output code...

I want to do some thing grep that I see the IP corresponding to each LAN card?
Is that possible?

View 8 Replies View Related

General :: When Type Ifconfig - Invalid Argument

Jul 1, 2011

When i type 'ifconfig eth0 192.168.25.1 255.255.255.0' the outcome is 'SIOCSIFADDR : invalid argument', but when i check the ip address using /sbin/ifconfig i see the ip address is updated to 192.168.25.1 and is up. When i restart the linux box,the /sbin/ifconfig is reset to 192.168.100.1 .what should i do so that the linux box /sbin/ifconfig should not change when am rebooting.

View 12 Replies View Related

General :: Evolution Does Not Show Content Of Inbox Or Sent But Does Show Other Folders

Apr 28, 2011

I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)

I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.

Things I checked already:
View is all
Folder subscription is on and local copy is on

More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.

View 1 Replies View Related

General :: Ip Of The Box - Logged Into Sometimes - Bash: Ifconfig: Command Not Found

Aug 23, 2010

I am usually sshed into different boxes and i forgot what ip I am logged into sometimes. Is there a command I can type to give me the ip on the box I am on.

cat /etc/*release
CentOS release 5 (Final)

this failed

ifconfig | more
bash: ifconfig: command not found

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved