Using Redhat Linux 9.3 --squid Server With Webcam

A Member? Please Login  
type your username and password to login
Date: July 24, 2008, 08:49 AM
223049 members and 126497 Topics
Latest Member: OKbobo
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Using Redhat Linux 9.3 --squid Server With Webcam
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Using Redhat Linux 9.3 --squid Server With Webcam  (Read 2066 views)
Larufa (m)
Using Redhat Linux 9.3 --squid Server With Webcam
« on: February 18, 2006, 09:01 AM »

Good day guys,

I will like to know how to configure my linux server to allow webcam.
The server has been congifure to be the proxy (Squid) server between my LAN and the Internet but it not allowing view web cam.
oasis
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #1 on: February 18, 2006, 05:41 PM »

Look into making the computer with the webcam a DMZ.  It's hard to offer advice without knowing your specific squid congiuration.
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #2 on: February 18, 2006, 06:16 PM »

Hello oasis,
Thanks for your assistance offer.

The changes I made to the default squid configuration are:

1. Addded                               http_port  9877.
2. Then                                   http_access  allow all.
3. Also added                         acl our_network scr 10.10.10.0/24
4. Then I added                      http_access allow our_network
5. Then I added                      http_reply_access allow our_network

With these addidition I have been able to connection the internet via my squid server.

oasis
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #3 on: February 19, 2006, 02:32 AM »

Good job.  I'm sure your solution would help those in similar situation.
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #4 on: February 19, 2006, 03:29 PM »

Hello oasis, I thought u a going to help out. I want to be able to use webcam with my squid server.
Seun (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #5 on: February 20, 2006, 11:56 AM »

You need an IP address for each PC on your network that you want to use for webcam.
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #6 on: February 20, 2006, 06:27 PM »

Good day Seun,

Thanks for the concern but each system on my network has a unique Ip address assigned arleady.

So what ease do I need to configured.
Seun (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #7 on: February 23, 2006, 08:47 PM »

Private IP addresses like 192.168.0.* or 10.0.0.* will not work!  You need publicly visible IP addresses.
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #8 on: February 27, 2006, 11:12 PM »

onanugaola,

Saw your post - Since your squid server is your gateway, I reckon you have 2 NICs on your server, one acting as the WAN gateway and the other as the LAN gateway. To allow your webcam to browse, you have to tell your system to allow all outgoing ports, I can't seem to remember the actual command put I will send it to you as soon as I do. I have build squid servers and you have to enable this for post of your apps to work i.e yahoo IM, video and audio conferencing.

Ynot (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #9 on: February 28, 2006, 12:52 AM »

I'm not sure i understood whacha trying to do but i will suggest you get Smoothwall Express. Works with any old pc. All you need is 3 NIC card (Red, Green and Orange Interfaces).

Red (NIC) Interface connects to your cable/dsl modem.
Green (NIC) Interface connects to your secured network.
Orange (NIC) Interface Connects to the open network (could be your web server, FTP sever,  etc)

Good thing is, the system will work as a firewall, server as well as a router.  List of services you can enable.

The drawback is that the box has to be a dedicated system. Read their documentation to make sure thats what you actually need. Been using it for a long time and the last time i rebooted was like 2 years ago.
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #10 on: February 28, 2006, 01:04 AM »

Ynot,

Smoothwall is good. He just needs to allow port forwarding to the internet, it's a command I use all the time but I can't remember - I will post it as soon as I remember it
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #11 on: March 02, 2006, 04:02 PM »

@alexis, thanks for your assistance. I am awaiting your reply. Pray u remember the configurations.
You are right about d 2NIC on the squid server. Remember I am using REDHAT 9 LINUX.
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #12 on: March 02, 2006, 10:44 PM »

Can't say I am 100% sure that this is the command, I will verify from my friend tomorrow. Log in as root and issue the following command at the terminal

echo 1 > /proc/sys/net/ipv4/ip_forward

After that, restart squid and try your webcam. Let me know if it worked but I will confirm the command when I talk to my friend tomorrow.

Why are you still using Redhat 9.0. It is no more supported, migrate to Fedora or FreeBSD

Cheers
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #13 on: March 04, 2006, 09:16 AM »

@alexis, thanks for assistance I will try the command and report back to u.

But where can get Fedora or FreeBSD CD? are they available at Ikeja Computer Village?
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #14 on: March 07, 2006, 08:55 PM »

I am sure you can get them at Ikeja Computer Village. Also, I suggest you try www.pogolinux.com - they are a linux hardware company that gives out free Fedora Core 2 CDs out to support the opensource spirit. You can write them and request for one, I did and they sent me one and I live in Ghana, I am sure you can mail them and they will send you a copy too.

I have FreeBSD with me here but I really don't know where you can get it. I will be coming home for Easter this year and I am sure I can reach you and give you a copy.

For both fedora and freebsd, you can go to their websites and download the image files but you will need a fast internet connection. For fedora, go to fedora.redhat.com. For freebsd, go to www.freebsd.org. I hope this helps
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #15 on: March 08, 2006, 06:19 PM »

@alexis, thanks for the message.

I will check the site and request for the free CD and I will also check whether I can get it at Ikeja Computer Village.

When next you are coming to Nigeria, my email address is onanugaola@yahoo.com
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #16 on: March 09, 2006, 07:07 PM »

@alexis, thanks for all your assistance.

Have issue the command u gave, but the cam is yet to be view from the other end.

The Cam system gives an error message:: A network error occured while connecting to the server.

 Although I am yet to test view cam from the other end.
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #17 on: March 12, 2006, 02:02 PM »

hi,

my email address is alexdehaini at gmail dot com. Should be home in April, I will send you a mail. You can email me anytime. Have you checked the squid website to see if your issue is solved? http://www.squid-cache.org. Concerning the command i gave you, what problem are you having?
shriketech
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #18 on: March 24, 2006, 02:48 PM »

Hi onanugaola,

It appears you are not very familiar with Linux. The problem you are having is a lot more difficult than just squid. You need to be doing NAT on the network and so smoothwall would have taken care of that for you. If you are really not sure about how to go about all this and can't take the pain to read it up properly before having to implement it in a production environment, I would suggest you use one of the easy to setup Linux distros out there, that do all the work for you.

Some good ones are
smoothwall www.smoothwall.org (as mentioned before)
Clarkconnect Linux www.clarkconnect.com (also based on Redhat 9 BTW)
IPCOP  (can't remember the URL)

I'm sure you already have a dedicated system which you use for your redhat 9, so using these will erase your hard drive and make a dedicated gateway/firewall/cache system with web-based point-and-click configuration, which I'm sure you would find easy to use.

alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #19 on: March 26, 2006, 03:15 PM »

shriketech,

I really don't think it has to do with NATTING. Squid can handle web cams, you just have to enable the ports that web cam work on
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #20 on: March 27, 2006, 09:13 PM »

onanugaola,

Finally found it, just enable packet forwarding by editing your /etc/sysctl.conf file

Before

# Disables packet forwarding
#net.ipv4.ip_forward=1

After

# Enables packet forwarding
net.ipv4.ip_forward=1

This will only enable it when you reboot at which time Linux will create a file in one of the subdirectories of the special RAM memory based /proc filesystem. To activate the feature immediately you have to create a single lined text file called /proc/sys/net/ipv4/ip_forward and it only contain the value "1". Here is how it's done:

echo 1 > /proc/sys/net/ipv4/ip_forward

Let me know the outcome

Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #21 on: April 02, 2006, 02:22 PM »

Thanks Alexis,

I will get back to you after carrying out your solutions.

God Bless
alexis (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #22 on: April 02, 2006, 09:38 PM »

Sure,

Let me know the outcome
Larufa (m)
Re: Using Redhat Linux 9.3 --squid Server With Webcam
« #23 on: April 27, 2006, 01:02 PM »

Quote from: alexis on April 02, 2006, 09:38 PM
Sure,

Let me know the outcome

Thanks Oga Alex.

It (Webcam) is not working yet oo.

Infact I can not connection to yahoo chat room.
If I bypass the squid server I can view webcam as well as connect to yahoo chat room.

Please what do I need to do to connect to yahoo chat room.
 12 Year-old Nigerian Bags Sun's Java Certificate  What Makes A Good Software Developer?  Looking For People Interested In Exploring JavaEE 5 And EJB 3.0  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Jobs (2) Career Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.