Power Developer https://powerdeveloper.org/forums/ |
|
Xubuntu Efika: No Network Here https://powerdeveloper.org/forums/viewtopic.php?f=31&t=1429 |
Page 1 of 1 |
Author: | Velcro_SP [ Fri Nov 16, 2007 8:43 am ] |
Post subject: | Xubuntu Efika: No Network Here |
Got my Efika a few days ago from GGS-Data. It was pre-installed with Xubuntu. I created a user ID and logon and it works well so far, with one exception: I can't reach the Internet. I also can't reach my router. I got into network configuration and set ETH0 for DHCP. I worked with it a bit, trying slightly different settings. Sometimes the little light at the ethernet cable plug-in point lights up. I don't know if that means "communicating" or "trying to communicate." But I just can't access Internet or the router. I posted about this on morphzone.org. SoundSquare referred me here to this forum and also gave me the advice to make some changes to "interfaces" file (add line "/etc/init.d/network start" at end. This is via the text editor sudo by typing "sudo nano -w interfaces." I did make the change and rebooted etc. Still no dice. Don't know if it is causing problems but it seems that the Xubuntu network configuration tool also changes the interfaces file. The non-commented out lines of my interfaces file are as follow: auto lo iface lo inet loopback iface gre0 inet dhcp iface eth0 inet dhcp auto gre0 auto eth0 /etc/inet.d/network start I don't know what "gre0" is and I tried commenting the gre0 lines out, but I think Xubuntu put them back, not sure though. I tried with three or four minor changes to "interfaces." I make use of a Linksys router. The ethernet cable is the same as I run to my Pegasos where I get a successful connection (I'm just unplugging the Peg's ethernet to try the Efika). I don't think the network difficulty is anywhere but on the Efika. Any help anyone can provide is welcome! |
Author: | SoundSquare [ Fri Nov 16, 2007 9:41 am ] |
Post subject: | |
Quote: I posted about this on morphzone.org. SoundSquare referred me here to this forum and also gave me the advice to make some changes to "interfaces" file (add line "/etc/init.d/network start" at end.
you misunderstood me. here's what Peter wrote about it : Quote: I found one serious problem: there is no network available after installation. To fix this (if you have DHCP on your network) is to edit as root /etc/network/interfaces and remove the # sign from the beginning of the last line, and execute
so from what you can read here's what you have to do : Code: /etc/init.d/network start Code: sudo nano -w /etc/network/interfaces
then remove the # sign from the beginning of the last line in this file. Save changes. back to prompt type : Code: /etc/init.d/networking start
hope it solves your issue (it should).
|
Author: | Velcro_SP [ Fri Nov 16, 2007 10:16 am ] |
Post subject: | |
Okay, I did read you wrong but the instructions you gave don't exactly fit my installation. The last line in my "interfaces" file is "auto eth0" and doesn't have any "#" in it. What is the last line that should be there according to your setup? Also, when I type "/etc/init.d/network start" I get a "no such file or directory" message. The closest thing to a network file in my init.d directory is a file called "networking." When I type "/etc/init.d/networking start" I get an "ifup: failed to open statefile /var/run/network/ifstate: Permission denied." Same thing when I use "networking stop," "networking force-reload," or "networking restart." I shouldn't be getting any "permission denied" since I use my primary (only) logon and can write to "interfaces" and so on. |
Author: | ironfist [ Fri Nov 16, 2007 11:42 am ] |
Post subject: | |
Since you used sudo when you edited your file you recieved temporary root privileges. Then you tried to start the network w/out sudo, which means no root. sudo /etc/init.d... start |
Author: | SoundSquare [ Fri Nov 16, 2007 2:37 pm ] |
Post subject: | |
yes sorry, it's "networking" and not "network" (i even corrected it in the other thread...shame). Code: sudo /etc/init.d/networking start
|
Author: | Velcro_SP [ Fri Nov 16, 2007 3:27 pm ] |
Post subject: | |
Well, I typed it with "sudo" like you said, and it says "configuring network interfaces [OK]" after that. But I still can't connect to Internet or even the router. In other words it acts just the same as it has been. Is there perhaps some overall setting in Network utility that I need to set, or that could be set incorrectly for me right now? Under General it says host name is "efika" and domain name is blank. The Automatic Service Discovery is unchecked (though I have had it as checked previously). Under DNS it has 192.168.1.5. I dunno what that is. It's not my router. Search Domains has "lan" listed. The last tab, Hosts, has many things listed including "127.0.0.1 localhost." Thanks very much for trying to help, not sure at all why I'm having this network trouble when the Efika and Xubuntu installation seem otherwise okay. Also, please look and tell me what is that last line in interfaces I'm supposed to uncomment. Maybe I should type it back in, whatever it is? |
Author: | ironfist [ Sat Nov 17, 2007 2:25 am ] |
Post subject: | |
I don't think you need anything under Search domains. DNS should be either your router or your ISP DNS servers. Do you get any IP-address at all if you type "/usr/sbin/ifconfig"? The network is eth0. |
Author: | SoundSquare [ Sat Nov 17, 2007 3:38 am ] |
Post subject: | |
seems like you don't have DHCP enabled. Do you have a dhcp server enabled in your router ? (i guess so if you used it for the install). make sure you have dhcp enabled in your /etc/networks/interfaces file Code: # This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface iface eth0 inet dhcp |
Author: | Velcro_SP [ Sat Nov 17, 2007 7:03 am ] |
Post subject: | |
I edited my interfaces to be like the one SoundSquare provided. I changed the entry under Domain names in the Xubuntu network configuration tool to be my router (it looked like it may have been set to some other router). Unfortunately, still no luck. When I run usr/sbin/ifconfig it gives me some text starting with: Link encap: Local Loopback inet addr: 127.0.0.1 Subnet mask: 255.0.0.0 inet 6 addr: 1/128 Scope = host UP LOOPBACK RUNNINING MTU:16436 Metric 1 And then zeros for RX Packets, TX packets and everything else. Perhaps it is compound problem with the Efika hardware not liking my Linksys router or vice versa. Not sure what else to try except perhaps adding my router's IP under Hosts in the network configuration tool or plugging in static values on the Efika instead of selecting DHCP. I did not install from the network. The machine came preinstalled. Also noticed a user describing similar problems at ubuntuforums.org: http://ubuntuforums.org/showthread.php?t=592111. |
Author: | SoundSquare [ Sun Nov 18, 2007 8:40 am ] |
Post subject: | |
alright, can you provide here what you get with : Code: # ifconfig eth0
it seems like eth0 isn't active in your system. setting your router as a domain name is useless as i suppose you don't have a domain based network. Setting the router IP into the hosts file shouldn't change anything but at least it's harmless. try to set eth0 up with the following : Code: # ifup eth0
and tell me how it goes. you can try to set your network interface with a static ip address, still in the interfaces file : Code: iface eth0 inet static
of course these values are an example, change the gateway IP by your router IP. address 192.168.0.5 netmask 255.255.255.0 gateway 192.168.0.1 good luck, keep us tuned. |
Author: | Velcro_SP [ Sun Nov 18, 2007 10:44 pm ] |
Post subject: | |
I am traveling this week and won't be working with the Efika. I will give your suggestions a try when I get back home. I am really thankful for the help. |
Author: | Palmiga [ Mon Mar 03, 2008 12:56 pm ] |
Post subject: | |
Got the same problem here, but its now solved. Delete the # in the last line worked only, if you didnt try to fix it with the standard-network-gui. After that, the config has changed, but didnt work. The sequence changed too. Only solution is to change the whole file. I copied this one from my Pegasos-Ubuntu: ---cut here------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp -- here too -------------- Works fine. The network-info shows "no network", but its ok. |
Author: | george.mikal [ Tue Mar 23, 2010 4:30 am ] |
Post subject: | |
yes Palmiga is right..i had same problem but now solved as Palmiga said |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |