LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2009, 06:25 PM   #1
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Rep: Reputation: 28
IP Camera, Wireless Router, Wireless Modem, And Slackware


I don't really even know what a subnet is, but I need to get a network IP camera to work with Verizon's National Broadband service which uses dynamic IPs on the interface ppp0.

The D-Link WBR-1310 wireless router is set to use DHCP. (don't know what that is either) with a default gateway of 192.168.0.1 (don't know what that is either). The IP address of the camera is 192.168.0.102. The IP address of the computer (eth0?) is 192.168.0.101. When I'm using my laptop, the IP address is 192.168.0.100.

Now, I want to use BOTH the internet, UM175 wireless modem connected to a USB port, AND the IP camera connected to LAN1 of the WBR-1310 which is connected into the ethernet port of the PC (eth0).

With the current configuration, I can use the wireless modem, UM175, connected to the ppp0 interface and the internet works fine, but I have no clue how to route the IP camera and use it while accessing the Internet with the wireless modem. Beyond my ignorance of networking, I assume the major problem is probably routing and or DNS configuration.

Hopefully, somebody can help in a very precise and concise manner. BTW, I'm using a Slackware clone.

For example, when connected to the Internet with the UM175 modem (dynamic IP):

66.174.201.xxx dev ppp0 proto kernel scope link src 70.193.63.xxx
127.0.0.0/8 dev lo scope link
default dev ppp0 scope link

Now, the IP camera will be on 192.168.0.102 which is a different gateway, i.e. 192.168.0.1, from the default gateway of the UM175 modem.

Last edited by tpreitzel; 11-08-2009 at 02:29 AM.
 
Old 11-07-2009, 12:07 AM   #2
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
I got the Vilar IPC-1002 camera working for awhile with motion. I absolutely love this IP PTZ camera for its price. The IR capability is good (actually too strong within 6 feet without some background lighting), the fish-eye image (wide angle) is good also. Sweet. I still have the networking problems, though. I'll keep this bumped for an eternity which is probably how long it will take me to learn networking.

BTW, within motion.conf (www.sf.net/projects/motion), set netcam_url to http://Camera_IP/cgi-bin/sf.cgi .... and be sure to set the netcam_userpass STRING also if needed. Also, set the default v4l2_palette to 2 (MJPEG).

Last edited by tpreitzel; 11-07-2009 at 12:19 AM.
 
Old 11-10-2009, 07:16 PM   #3
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
bump
 
Old 11-14-2009, 12:36 AM   #4
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
bump
 
Old 11-21-2009, 04:29 AM   #5
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
bump

Routing and DHCP configuration were part of the problem, but I still have to manually add a route for ppp0 (UM175) to function, e.g.:

route add default ppp0

I also disabled the WBR1310's DHCP option and manually configured all devices attached to the router which mitigated unnecessary complexity. Furthermore, I automatically start x11vnc which has helped to prevent Verizon from automatically disconnecting the link and thereby mucking up my configuration. As a bonus, I can use my Palm to control my desktop. Although, the networking is still a mess, it's better and much more stable.

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
64.sub-66-xx-xx *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 ppp0
default         192.168.0.1     0.0.0.0         UG    1      0        0 wlan0

Last edited by tpreitzel; 11-21-2009 at 04:35 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DSL-modem/wireless-router seen but does not connect qajaq Linux - Wireless Networking 3 11-11-2008 08:46 PM
Wireless modem router stopped working? linuxhippy Slackware 3 07-13-2007 07:22 AM
Wireless/Wired Router Modem Peter_APIIT Linux - Wireless Networking 10 02-22-2007 07:12 AM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
what is the best wireless router/modem to buy? hamish Linux - Wireless Networking 4 06-09-2004 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration