Page 1 of 1
Two laptops same LAN. Only one can access zoneminder
Posted: Tue Jan 18, 2011 4:48 am
by headbanger
Hello fellas':
I have two laptops, for the sake of clarity let's call them A and B. On A I have Ubuntu Desktop 10.10 and a successfully installed zoneminder on it. I also enabled an USB webcam and accessed the manager through
http://192.168.1.67/zm and could look the webcam video attached to that laptop just as fine as every other computer from my home WLAN. Today I brought the laptop A to a different WLAN (work) and on laptop B, a netbook with Ubuntu Netbook 10.04 also installed zoneminder (through synaptic). This netbook (B) has a built in webcam that I wan't to be able to monitor from laptop A so here's the pickle:
Laptop A can access the monitor and everybody in the LAN can monitor laptop A's camera on zoneminder by going to firefox and issuing:
http://192.168.1.67/zm.
Now when I input
http://192.168.1.78/zm on laptops B, A or any other computer all I get is a 404 Not Found error which states:
Not Found
The requested URL/zm was not found on this server.
Apache/2.2.14 (Ubuntu) Server at 192.168.1.78 Port 80
Anyhow I will keep on reading the manuals and forums on the hope that one day I can monitor a bunch of cameras attached to laptop B at work from laptop A at home and viceversa.
Thanks in advance to everyone out there trying to help all us newbies to spread the zm word around.
Posted: Wed Jan 19, 2011 5:38 pm
by Andre81
Can you access with netbook to local zoneminder installation?
try
http://localhost/zm or
http://127.0.0.1/zm and let me know.
A.
Posted: Thu Jan 20, 2011 2:39 pm
by headbanger
Hi there, thanks a lot for your help! The result for either of this is pretty much the same thing:
Not Found
The requested URL /zm was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
Additionally I tried 127.0.0.1/zm and 127.0.1.1/zm and obtained the same result.
Cheers!
Posted: Thu Jan 20, 2011 2:54 pm
by headbanger
kalsoomakhter wrote:Firstly you require a network crossover cable. Available from most computer stores. This is a special type of cable it is not a standard LAN cable.
Secondly ,both computers are on the same workgroup. TO do this Right click on My computer, Properties, go to the Computer Name Tab, See what is written in Workgroup. Change one computer by clicking on change and then type in the name of the other computer in the workgroup space down the bottom. Do not make the computer part of a domain. You want Workgroup.
This name change will require a computer reboot.
When both computers are on the same workgroup, we need to set IP Addresses.
In Control Panel, Open Network Settings.
Right click on Local Area Connections and select properties.
Under the heading "This connection uses the following items, Find Internet Protocol (TCP/IP)
Highlight it, Make sure you don't untick the box, and click on properties
Under the heading Use the following IP Address ENter in the Following on ONE Computer.
IP Address 192.168.0.10
Subnet Mask 255.255.255.0
Default Gateway LEave Blank
Under the Heading Obtain DNS Serveraddress automatically
Set this to Automatic. Don't enter anything in.
On the second computer Make the IP Address 192.168.0.20
Everything else the same.
Hello and thanks for your reply. Both computers are using Ubuntu Linux and the instructions you offered seem to be written for Windows. Though familiar with the process, there seems not to be an option to change the workgroup on Ubuntu, at least natively.
Now going back to the LAN crossover, I already have one, but I couldn't have the computers hard wired to each other since their final destination will be 2 different LANs. I need to access cameras installed at my work LAN from my house laptop and cameras installed on my home LAN from my work laptop.
I sincerely thank you for your suggestions and the time it took you to write a reply to this post.
Cheers!
Posted: Fri Jan 21, 2011 6:27 pm
by Andre81
headbanger wrote:
Hi there, thanks a lot for your help! The result for either of this is pretty much the same thing:
Not Found
The requested URL /zm was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
Additionally I tried 127.0.0.1/zm and 127.0.1.1/zm and obtained the same result.
Cheers!
Ok, if you can't find zm folder the first things you have to check is:
Have you installed the zm on local pc?
Retry to install it and try again.
p.s. don't use synaptic but follow this guide:
http://www.zoneminder.com/wiki/index.ph ... 29_Desktop
Andrea
Posted: Tue Jan 25, 2011 2:32 pm
by headbanger
[/quote]
Ok, if you can't find zm folder the first things you have to check is:
Have you installed the zm on local pc?
Retry to install it and try again.
p.s. don't use synaptic but follow this guide:
http://www.zoneminder.com/wiki/index.ph ... 29_Desktop
Andrea[/quote]
Will do and let you know. Sorry I couldn't reply faster I had to leave town to play at our rugby tournament this weekend. Will try the installation instructions later today.
Thanks!
Network Issues
Posted: Wed Feb 02, 2011 11:09 pm
by jeramiah1945
Okay, there is a lot of things you have to consider here. For one thing you have to confirm that your A and B laptops are enabled for DHCP. If they have hardcoded IP addresses that work fine at your home, its unlikely that they will function at your work. Even if your office has the exact same network, mask and default router, there may be a device on the work network that is already using the IP addresses of either A or B. If you turn on DHCP then when the laptops boot up at work, you know they will get good IP addresses. Then just determine what addresses they got and they should see each others zoneminder.
Now have A at home and B at work and to be able for them to see each other you will need to configure a forwarding rule on each router. Essentially you are telling the work router to allow port 80 traffic sourced from the internet (your home laptop) and destined for the laptop at work to pass through. The router's WAN side, public IP address will be the address you will use from home to get to the work laptop. But there is another problem. If your work router is on DSL or Cable, its address will change about once a day. So the next thing you need to do is setup a dynamic DNS account at
www.dnydns.com (its free). They you will get a dns name like zoneminder.dyndns-free.com that will be mapped to the ever changing WAN address of the work router. A piece of software will need to run on the work laptop, or the work router, or any other PC at work to update dyndns to the the new IP address as it changes.
As you can see, this is not an overly simple task you have given yourself, but it can be done. There are just multiple layers to consider.