#warrior 2013-07-03,Wed

↑back Search

Time Nickname Message
20:29 πŸ”— quercus Hello all. If it's not looked upon badly, I'd like to ask a technical question about the Warrior web frontend.
20:30 πŸ”— quercus Is is possible to forward the web admin on :8001 in such a way that I can point a browser at the box *running* the Warrior, not the Warrior itself once I've ssh'ed in?
20:31 πŸ”— * Smiley tries to figure out what your asking
20:31 πŸ”— * ivan` has trouble too
20:31 πŸ”— Smiley quercus: can you ask in another way?
20:32 πŸ”— Smiley you - < box > < Vbox >
20:32 πŸ”— Smiley atm it forwards 8001 from Vbox to box
20:32 πŸ”— Smiley are you doing bridged networking or something? (if so, yes, as I do exactly that).
20:32 πŸ”— ivan` I think he wants virtualbox to listen on 0.0.0.0
20:33 πŸ”— ivan` I don't know how to do that, but you can always use an SSH port forward
20:33 πŸ”— quercus So, rather than having to fire up a terminal and ssh into the box with the `ssh -L8001:localhost:8001` command, can i just point my browser at http://nameofmyserver:8001?
20:33 πŸ”— ivan` or that thing you said
20:33 πŸ”— Smiley hmmm yes
20:33 πŸ”— Smiley except my brain is hurting and I can't think how
20:33 πŸ”— Smiley quercus: we talking an internal network or public?
20:34 πŸ”— quercus technically both, as it's the dmz for my local network.
20:34 πŸ”— quercus but even local would be a start
20:34 πŸ”— Smiley heh
20:34 πŸ”— ivan` tell virtualbox to use bridged networking on the warrior, this will give it a real IP
20:34 πŸ”— Smiley well if you put VirtualBox into bridged mode, and give it a real IP
20:34 πŸ”— * Smiley hi5's ivan`
20:34 πŸ”— quercus i should probably have pointed out first that i'm running virtualbox headless on ubuntu server
20:34 πŸ”— Smiley then the port forwarding will forward to teh real IP :)
20:34 πŸ”— Smiley quercus: ok, I run it headless too
20:35 πŸ”— Smiley I have it in bridged mode, dhcp and grabs an IP (i've set it static but we can ignore that)
20:35 πŸ”— Smiley I got to http://ip.defined.by.dhcp:8001
20:35 πŸ”— Smiley and it works
20:36 πŸ”— quercus sweet. i don't mind whether it's at http://homeserver:8001 or the warrior has its own 10.0.1.* address as if it was a real machine
20:37 πŸ”— Smiley quercus: do teh section option
20:37 πŸ”— Smiley can you do dhcp? thats the quickest/easiest way
20:37 πŸ”— quercus my router is my dhcp server
20:38 πŸ”— Smiley can yo uhave it hand out static IP's?
20:38 πŸ”— quercus yeah. i have my server and desktop issued ip's determined by mac address
20:38 πŸ”— Smiley do teh same with the warrior and happyness reigns :)
20:39 πŸ”— quercus how would i implement that from the command line, bearing in mind i have no gui virtualbox
20:48 πŸ”— Smiley god your making this hard ;)
20:48 πŸ”— Smiley ok let me have a look
20:49 πŸ”— quercus i'm "working within limitations" apparently. :P
20:49 πŸ”— Smiley VBoxManage controlvm Archiveteam-Warrior-2 nic 1 bridged
20:49 πŸ”— Smiley I think.
20:51 πŸ”— quercus invalid nic number :\
21:06 πŸ”— Smiley 0 ?
21:08 πŸ”— quercus tried 1 and 0
21:14 πŸ”— Smiley hmmmm
21:14 πŸ”— Smiley try nic1
21:14 πŸ”— Smiley no space
21:14 πŸ”— quercus VBoxManage: error: Missing argument to 'bridged'
21:17 πŸ”— Smiley VBoxManage controlvm Archiveteam-Warrior-2 nic1
21:17 πŸ”— Smiley what does that say?
21:18 πŸ”— quercus VBoxManage: error: Missing argument to 'nic1'
21:22 πŸ”— Smiley gah
21:23 πŸ”— quercus yeah
21:23 πŸ”— quercus the --help is no use either
21:23 πŸ”— Smiley VBoxManage modifyvm Γ’Β€ΒœMyVMҀ Ҁ“nic1 bridged Ҁ“nictype1 82540OEM Ҁ“bridgeadapter1 eth0
21:23 πŸ”— Smiley ah tehre we go
21:23 πŸ”— Smiley try -nic1
21:25 πŸ”— Smiley quercus:
21:25 πŸ”— Smiley VBoxManage controlvm archiveteam-warrior-2 nick1 bridged bridgeadapter1 eth0
21:28 πŸ”— quercus well, it didn't spit an error, so that's something
21:40 πŸ”— Smiley :D
21:40 πŸ”— Smiley check your router, see if you saw something request an IP.
21:40 πŸ”— Smiley errr not "nick1" nic1 ;D
21:44 πŸ”— quercus oh yeah, i did that. i'm just trying to find the new ip

irclogger-viewer