ubuntu ifconfig shows no IP Address.

3,023 views
Skip to first unread message

Jagdish Ahir

unread,
Aug 18, 2011, 7:27:43 AM8/18/11
to VG...@googlegroups.com
Hello friends.


I have faced issue with my ubuntu clients 11.4. when I've configured ip by GUI it takes ip and after restarting network from CLI. ifconfig doesn't show ip address I have given.
finally i have assign ip address by command like below and everything is working fine. 
ifconfig eth0 192.168.1.5 netmask 255.225.225.0
route add default gw 192.168.1.254
added enty on /etc/resolv.conf

Is it bug on ubuntu 11.4?  

do you guys have any idea about it?


Thank you.




--
Jagdish Ahir
Cell. 9725028405

Tejas Barot

unread,
Aug 18, 2011, 7:49:23 AM8/18/11
to vg...@googlegroups.com
Hello,

I didn't face that kind of issues. I am using ubuntu 11.04.

Are sure you have ticked Connect Automatically and proper settings in ipv4 settings from NetworkManager ?

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"I am Very much concern about Security & Stability,
That's the reason I am not using Insecure & Unstable WindowZ,
Feel Secure, Be Stable, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Jagdish Ahir <jagdis...@gmail.com>
Date: Thu, 18 Aug 2011 16:57:43 +0530
Subject: [VGLUG] ubuntu ifconfig shows no IP Address.
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Sanjay Patel

unread,
Aug 19, 2011, 5:00:22 AM8/19/11
to vg...@googlegroups.com
Try below things on Ubuntu machine..

Manually IP on ubuntu 10.10

#sudo vim /etc/networks/interfaces

auto eth0

iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

# sudo ifup eth0

Thanks,
Sanjay

Jagdish Ahir

unread,
Aug 24, 2011, 3:29:33 AM8/24/11
to vg...@googlegroups.com
yes it is working.
 
Thanks

Jagdish Ahir
Cell. 9725028405

Reply all
Reply to author
Forward
0 new messages