Fri Aug 15, 2014 1:55 pm
Sat Aug 16, 2014 12:28 pm
ifconfig -a
dhclient -v <interface>
(interface is something like eth0, wlan0 or whatever interface you're using.)
cat /(etc)/network/interfaces
(remove the parentheses)
cat /(etc)/udev/rules.d/70-persistent-net.rules
(remove the parentheses)
lspci | grep -i net
Sat Aug 16, 2014 4:42 pm
fsmithred wrote:BTW, (@macstar) I expect the network not to work on virtualbox unless I change it from the default settings to bridged network, and I select the correct interface.
cat /(etc)/network/interfaces
(remove the parentheses)
cat /(etc)/udev/rules.d/70-persistent-net.rules
(remove the parentheses)
[email protected]:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr f0:92:1c:4d:ba:d4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:403 errors:0 dropped:0 overruns:0 frame:0
TX packets:403 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32316 (32.3 KB) TX bytes:32316 (32.3 KB)
wlan0 Link encap:Ethernet HWaddr 0c:84:dc:6e:19:77
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[email protected]:~$ sudo dhclient -v eth0
[sudo] password for macstar:
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/f0:92:1c:4d:ba:d4
Sending on LPF/eth0/f0:92:1c:4d:ba:d4
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x4f88473a)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0x4f88473a)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 (xid=0x4f88473a)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 (xid=0x4f88473a)
[email protected]:~$ lspci | grep -i net
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
07:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
Sat Aug 16, 2014 8:45 pm
macstar wrote:fsmithred wrote:BTW, (@macstar) I expect the network not to work on virtualbox unless I change it from the default settings to bridged network, and I select the correct interface.
sorry but then you expecting it wrong. if you have any convincing reason why you would do so, please continue this debate with the admin of distroshare, who denied my distro because, it does not work the same way in live cd mode as in installed mode, and named the lacking network-connection as a reason for it. and i cant blame him. if you run a live-cd in virtual box, it should have the internet connection available. ubuntu/kubuntu are doing this per default, so does mint, opensuse, and many many others.
cat /(etc)/network/interfaces
(remove the parentheses)
cat /(etc)/udev/rules.d/70-persistent-net.rules
(remove the parentheses)
removing what? the interfaces file looks already 1:1 like it would do in a live-dvd distro like mint where i have an internet connection... same goes for the 70-persistent-net.rules. as i wrote before, i even tried once to completely remove the persistent rules file to see if that makes any difference - sadly it does not.
waiting with interest what listing these specs will do like. i am still willing to bet its a problem with refracta.
i also once tried to do a snapshot when my internet connection was available and online, once i set it to offline and once i even removed it completely. just does not make any difference at all.
Sun Aug 17, 2014 6:05 am
Yes, and refracta (the live CD) is one of those that gets an internet connection when you run it live. In virtualbox, it's been my observation that NO live CD will have an internet connection if I leave the virtualbox setting on the default NAT setting. If I change it to Bridged, I can then select from the hardware interfaces that exist on the host machine, and it conntects.
You made a snapshot of your installation. Did your network manager modify the interfaces file or not? In debian, the default interfaces file only has the loopback interface configured. Some people will alter theirs on an installation, and it's possible that some network managers might alter it. I don't know what every distro does with that file. I only need to know if yours is different. Does it contain configuration for your interfaces? Does 70-persistent-net.rules show your ethernet controller ( RTL8111/8168/8411) as eth0, or does it call it something else?
I’m trying it out in Virtualbox and dhclient is giving me this error:
dhclient: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Permission denied
Sun Aug 17, 2014 12:13 pm
macstar wrote:Yes, and refracta (the live CD) is one of those that gets an internet connection when you run it live. In virtualbox, it's been my observation that NO live CD will have an internet connection if I leave the virtualbox setting on the default NAT setting. If I change it to Bridged, I can then select from the hardware interfaces that exist on the host machine, and it conntects.
sorry, but no thats not the way its happening here. running virtualbox 4.3.10 on kubuntu 14.04x64.
there is also no need to mess arround with the network settings, as the pre-defined ones when chosing ubuntu or even linux will just work with any live-cd except refracta.
and again: just because of it, i also tried ANY network profile available in virtualbox, but neither of them work.
You made a snapshot of your installation. Did your network manager modify the interfaces file or not? In debian, the default interfaces file only has the loopback interface configured. Some people will alter theirs on an installation, and it's possible that some network managers might alter it. I don't know what every distro does with that file. I only need to know if yours is different. Does it contain configuration for your interfaces? Does 70-persistent-net.rules show your ethernet controller ( RTL8111/8168/8411) as eth0, or does it call it something else?
i fear you did not really understand me. my network manager did modify the 70-persisten rules file, and therefore i once removed it, before doing a snapshot. i wrote this a few posts back.
the interfaces file was not modified. it looked the same as the file i compared with which was a mint live cd distro running in virtual box. (i thought if its working there, lets just see if the files are identic - and they are)
auto lo
iface lo inet loopback
i am using the latest refracta 9.0.9.8 got it via sf -> http://sourceforge.net/projects/refracta/files/tools/
I’m trying it out in Virtualbox and dhclient is giving me this error:
dhclient: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Permission denied
Wed Aug 20, 2014 12:25 pm
Did you try it with one of those, or just with the live-CD image you built from kubuntu?
OK, so they are identical. Can you tell me what they look like? I don't have a mint iso to check it, and I can't see what's on your screen. Does it contain anything more than the following?
auto lo
iface lo inet loopback
9.0.9-8 is the latest version for wheezy. You could try the version for jessie/sid (9.1.2), which you can find here -
http://distro.ibiblio.org/refracta/files/Testing/
Note that the newer version requires xorriso to be installed. Also, in newer versions of syslinux, isolinux is no longer included and is a separate package.
Edit: What's the output of 'cat /proc/cmdline' when you're running the live iso?
Thu Aug 21, 2014 2:35 am
label live
menu label ^Start Kubuntu
kernel /casper/vmlinuz.efi
append file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash --
Thu Sep 25, 2014 9:53 pm
Fri Sep 26, 2014 1:43 am