Hello,
I have bought a TV which has possibility to connect via LAN to Internet. At this moment I have no router but I suppose it should work also via PC where is 2nd net card. (of course PC must be ON)
So I connect TV to PC to one net card and from 2nd to internet (provider socket). But how should I set the PC to work it? Allow both cards, it is clear but is it enough? I dont suppose 
Thanks for hint 
Martin
PS: if important, KDE and oS 11.3
On Mon, 29 Aug 2011 12:56:02 +0000, atilius wrote:
> I have bought a TV which has possibility to connect via LAN to Internet.
> At this moment I have no router but I suppose it should work also via PC
> where is 2nd net card. (of course PC must be ON)
>
> So I connect TV to PC to one net card and from 2nd to internet (provider
> socket). But how should I set the PC to work it? Allow both cards, it is
> clear but is it enough? I dont suppose 
Yes, you can configure a Linux PC (or pretty much any PC regardless of
the OS) to act as a router.
http://linux-ip.net/html/routing-intro.html is a good starting point on
how to set this up (looks to be generic).
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
Thank you.
And is it possible to do the setting only via Yast?
On Mon, 29 Aug 2011 17:26:02 +0000, atilius wrote:
> Thank you.
>
> And is it possible to do the setting only via Yast?
Sure, the firewall module has options to configure masquerading (aka NAT)
for this purpose.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
Hello,
so I am trying to set the network with Yast but it doesnt work.
Generally, I followed ICS - openSUSE (I have oS 11.3)
I have done:
eth0 - for internet
eth1 - internal network
In Firewall setting
Firewall is running
Interface → eth0 External zone, eth1 Internal zone
Checked Mascarade
In Network setting → cards:
Both cards for DHCP4
IP forwarding checked
eth1 set for DHCP4
name of module: forcedeth
set in Internal zone
In DHCP server setting:
subnet 10.152.187.0 netmask 255.255.255.0
subnet 10.254.239.0 netmask 255.255.255.224
subnet 10.254.239.32 netmask 255.255.255.224
subnet 10.5.5.0 netmask 255.255.255.224
host passacaglia
host fantasia
shared netwokr
subnet 10.17.224.0 netmask 255.255.255.0
subnet 10.0.29.0 netmask 255.255.255.0
pool__0
pool__1
subnet 192.168.0.0 netmask 255.255.0.0
on TV is set “get IP via DHCP”
But it doesnt work at all…
thanks for help,
Martin
ok, I have stepped forward…
I have cancelled DHCP setting for eth1 (internal net) and set static IP, Netmask, Gateway and DNS got from etc/resolve.conf
It is better, I can ping TV, TV can ping PC but from TV I cant access to internet and I dont why…
Thanks,
Martin
On Tue, 30 Aug 2011 17:16:03 +0000, atilius wrote:
> ok, I have stepped forward…
> I have cancelled DHCP setting for eth1 (internal net) and set static IP,
> Netmask, Gateway and DNS got from etc/resolve.conf
>
> It is better, I can ping TV, TV can ping PC but from TV I cant access to
> internet and I dont why…
>
> Thanks,
>
> Martin
Is the firewall enabled? (and to the DHCP question, is the DHCP server
daemon running?)
Check both of those in the YaST Runlevel editor.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C