VMware
1 2 3 4 5 Previous Next 73 Replies Last post: Aug 6, 2008 12:11 PM by Lance Rushing   Go to original post

Re: Ubuntu 7.10 Just Enough OS appliance

30. Feb 4, 2008 7:44 AM in response to: brugh
Click to view VadimDo's profile Novice 7 posts since
Jan 29, 2008
thanks, it works now

Re: Ubuntu 7.10 Just Enough OS appliance

31. Feb 4, 2008 10:20 AM in response to: brugh
Click to view Mista_Eng's profile Novice 7 posts since
Jun 6, 2007

Hi, I downloaded and tried the appliance from your last link on VMware's Server 1.04 and while it did start without errors, there was no network connectivity. The Ethernet interface appeared to be disabled in the OS although there was one "installed" in the virtual machine configuration. I tried entering in static IP configuration information through the command "sudo vi /etc/networking/interfaces" "sudo /etc/init.d/networking restart" but it failed saying there was no hardware, or something like that.

I am a newbie when it comes to *nix and was wondering if you, or anyone for that matter, could help me. I just want a Dansguardian + adzapper + Squid server to transparently proxy, filter, and cache http requests with a small resource footprint. This particular appliance seems to fit my requirements exactly if only the networking was enabled, though the problem may be on my side.

Using the regular JeOS image, I have been able to create my own VM with everything I wanted installed, but I think the installation could be reduced in size. Can you detail what exactly you did to trim JeOS down to the "bare essentials"? If the process is too long, a summary will do, or if you have a link (I haven't found any guide or how-to information on the process), that would be fine as well.

In summary, I have three questions:

1. How do you enable eth0 so that I configure it with static IP settings?

2. How did you trim JeOS to it's bare essentials?

3. Also, is there an easier editor to use than "vi"? It seems to be a very cryptic program; I have managed to work with it reading some of the documentation online, but I continue to easily make mistakes during use.

Thank you very much in advance. While I did spend a bit of time getting my own JeOS creation going, and it appears to be working without issue, I wouldn't mind running your appliance instead. My home server only has 1GB of RAM and needs to be spent wisely hehe.

Re: Ubuntu 7.10 Just Enough OS appliance

33. Feb 4, 2008 5:50 PM in response to: brugh
Click to view Mista_Eng's profile Novice 7 posts since
Jun 6, 2007

Hi Brugh,

I tried your first suggestion, and typed "ifup eth1" and received: Ignoring unknown interface eth1-eth1.

"ifup eth0" resulted in: eth0: ERROR while getting interface flags: No such device.

The 70-persistend-net.rules file contained: SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:3a:1b:80", NAME="eth0"

"dmesg | grep eth0" resulted in: eth0: registered as PCnet/PCI II 79C970A

I think "lsmod | grep pcnet" did output a listing of pcnet32.

I have also tried reinstalling the network card from the applicance configuration but there was no change. It made no difference whether I uninstalled-installed while the VM was off or with a reboot between the steps; the appliance doesn't seem to see the network card despite traces of its existence.

"ifconfig" only shows the loopback adapter. Pings of course do not work. Hrmm, maybe I am the only one with this problem.

Thanks for the barebone process details. Since I do not know which packages are essential, I'll have to leave my other JeOS alone hehe. And "nano" is so much easier to use than "vi," much aggravation has been saved. Which reminds me, is there a way to have scrollable or prompted output from commands? For example, if I do a "ls --help" and get 3 screens worth of output, I only see the last screen. This is very annoying and I have been coping with this by doing "ls --help >foo" "less foo". I know in MS-DOS you can add the /p switch to a command, say "dir /p", and the output is controlled.

Thanks again, and hope to hear from you soon.


Re: Ubuntu 7.10 Just Enough OS appliance

35. Feb 6, 2008 2:36 AM in response to: brugh
Click to view askwar's profile Enthusiast 29 posts since
Apr 8, 2006

Hello!

I downloaded ub710jeos-1.021.zip and tried to run it in VMware Server 1.04 on Gentoo Linux. It does the "usual" SCSI scan thing (see attached screenshot). Example

http:// 54.642988 sd 2:0:1:3: rejecting I/O to offline device
http:// 54.643116 sd 2:0:1:3: rejecting I/O to offline device
http://...
http:// 54.643734 sd 2:0:1:3: sde Asking for cache data failed
http:// 54.643881 sd 2:0:1:3: sde Assuming drive cache: write through

This continues forever, as it seems.

According to Mista_Eng it should work, shouldn't it?


What to do?

Thanks,

Alexander

Re: Ubuntu 7.10 Just Enough OS appliance

36. Feb 6, 2008 2:49 AM in response to: VadimDo
Click to view askwar's profile Enthusiast 29 posts since
Apr 8, 2006

Hello!

VadimDo wrote:as on Jan 30 2008 6:30AM the
http://virtualappliances.eu/ub710jeos-VS.zip
is still not the fixed one version for vmserver 1.0.4.
it contains only the files from 29.01.2008
The -VS version works fine for me on VMware Server 1.0.4 on Gentoo Linux.

-rwxrwxrwx 1 askwar users 175496899 6. Feb 11:15 ub710jeos-VS.zip
$ md5sum ub710jeos-VS.zip
30b3e77b7635058c9f2056a0f308cee7 ub710jeos-VS.zip

Best regards,

Alexander

Re: Ubuntu 7.10 Just Enough OS appliance

37. Feb 6, 2008 3:14 AM in response to: Mista_Eng
Click to view askwar's profile Enthusiast 29 posts since
Apr 8, 2006

Hi!

Mista_Eng wrote:
Hi Brugh,

I tried your first suggestion, and typed "ifup eth1" and received: Ignoring unknown interface eth1-eth1.

"ifup eth0" resulted in: eth0: ERROR while getting interface flags: No such device.

The 70-persistend-net.rules file contained: SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:3a:1b:80", NAME="eth0"

"dmesg | grep eth0" resulted in: eth0: registered as PCnet/PCI II 79C970A

I think "lsmod | grep pcnet" did output a listing of pcnet32.

I have also tried reinstalling the network card from the applicance configuration but there was no change. It made no difference whether I uninstalled-installed while the VM was off or with a reboot between the steps; the appliance doesn't seem to see the network card despite traces of its existence.

"ifconfig" only shows the loopback adapter. Pings of course do not work. Hrmm, maybe I am the only one with this problem.

Thanks for the barebone process details. Since I do not know which packages are essential, I'll have to leave my other JeOS alone hehe. And "nano" is so much easier to use than "vi," much aggravation has been saved. Which reminds me, is there a way to have scrollable or prompted output from commands? For example, if I do a "ls --help" and get 3 screens worth of output, I only see the last screen. This is very annoying and I have been coping with this by doing "ls --help >foo" "less foo". I know in MS-DOS you can add the /p switch to a command, say "dir /p", and the output is controlled.

Thanks again, and hope to hear from you soon.

No, you're not alone. I've got the exact same problems getting the network card to work. I changed the ethernet0.virtualDev line in ub710jeos.vmx from vlance to vmxnet. But still no go :/

Regarding your "ls --help" question: You pipe the to-be-paged output to "less", like so:

ls --help | less

Regards,

Alexander

Re: Ubuntu 7.10 Just Enough OS appliance

39. Feb 7, 2008 5:26 AM in response to: brugh
Click to view Vadim Dorezuk's profile Lurker 2 posts since
Feb 7, 2008
The appliance for VMServer 2 beta didn't survive the apt-upgrade with new linux-image-2.6.22-14-generic (version 14.51-i386 of 1.02.2008) for me, which contains new 2.6.22-14-virtual kernel. It's probably the same as :
https://bugs.launchpad.net/ubuntu/+bug/163227
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/164716

The appliance shows BusLogic SCSI and goes into BusyBox shell after upgrade/reboot. The same crash for DLappliance, which shows LSI-Logic -SCSI for me.
The full (not "purged" ) JeOS appliance 1124 (BusLogic) goes the upgrade through, and wants to install not linux-image-2.6.22-14-generic but only linux-image-2.6.22-14-virtual and
linux-headers-2.6.22-14-virtual.

Is the crash really due to SCSI? The SCSI issues should be fixed in JeOS 8.04 Hardy. Does it make sence to purge this one?
Does somebody know here , will the "apt-get upgrade" automaticaly upgrade 8.04 to alpha4 from alpha3 , beta1 from alpha4 and to rc from betaX or one should reinstall the whole jeos each time? Thank you very much in advance.

Re: Ubuntu 7.10 Just Enough OS appliance

40. Feb 7, 2008 12:22 PM in response to: brugh
Click to view Mista_Eng's profile Novice 7 posts since
Jun 6, 2007

Hello Brugh, I just wanted to let you know that I didn't get to try out the network fix in your last reply to me. My regular JeOS install is working well and I am satisfied with it. However, thank you very much for your help and I hope to use your appliance in the future.

Re: Ubuntu 7.10 Just Enough OS appliance

42. Feb 7, 2008 2:46 PM in response to: brugh
Click to view Vadim Dorezuk's profile Lurker 2 posts since
Feb 7, 2008
Hi Brugh, return to second question about removing unessential packages: I've tried to purge the "SELinux shared libraries" libselinux1 and agreed to remove a lot of depending stuff with it including "dpkg". But how can I get the dpkg-Package back to install minimal ubuntu-kernel now before reboot? The whole installation shines to be inconsistent and "apt-get install dpkg" says something about missing dependenses to perl5,locale and so on. Are there some tipp&tricks with options like "--irnore-missing" or something like that? Thank you in advance.

Re: Ubuntu 7.10 Just Enough OS appliance

44. Feb 14, 2008 9:15 AM in response to: brugh
Click to view alexneg's profile Lurker 2 posts since
Feb 14, 2008
hi brugh,

is there any possibility to enable shared folders in your virtual appliance?

kind regards,
alec

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities