Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-28-2009, 03:47 AM
|
#1
|
LQ Newbie
Registered: Feb 2009
Posts: 6
Rep:
|
Internet sharing in fedora 10
Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like { www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know
Thanks in advanced
Best regards
Bizar
Last edited by bizarr; 02-28-2009 at 05:10 AM.
|
|
|
02-28-2009, 12:21 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,140
|
Quote:
Originally Posted by bizarr
Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like { www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know
Thanks in advanced
Best regards
Bizar
|
First, welcome aboard.
Second, can you please write more clearly?? Your question is very hard to follow. You also don't say anything about what version/distro of Linux you have, or what your environment is (multiple computers? Any with Windows? Mac? what??). Providing good information will help you get answers. And please spell out your words...
You say you share your connection via switch, and things are working, but other sites are working too? So what's the problem? Sounds like things are working.
You also say you're sharing your connection via switch, so why are you asking how to share your connection via linux, since it's obviously already shared?
Starting Samba won't affect your internet connection at all, but will only share what you tell it to, for other Windows clients.
|
|
|
02-28-2009, 01:59 PM
|
#3
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
he said fedora 10 the subject
am i to assume you have something similar to the following?
Code:
modem
|
switch
| | |
comp1 | |
comp2 |
comp3
or is it more like
Code:
modem - comp1
|
switch
| |
comp2 comp3
in short, how are they connected to your modem? the modem to the switch, then your network or the modem to a computer with 2 nics then a switch to the rest of your network?
are the computers ip addresses assigned statically or via dhcp?
Last edited by frieza; 02-28-2009 at 02:01 PM.
|
|
|
02-28-2009, 03:23 PM
|
#4
|
Member
Registered: Oct 2008
Location: Middle TN
Posts: 134
Rep:
|
Quote:
Originally Posted by bizarr
Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like { www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know
Thanks in advanced
Best regards
Bizar
|
Turn off all filters, unless you're in this Romania, where your connect is automatically filtered.
And, if in Lithuania, do NOT let them know that you made this post, at all, et al.
|
|
|
03-01-2009, 05:42 AM
|
#5
|
LQ Newbie
Registered: Feb 2009
Posts: 6
Original Poster
Rep:
|
Thanks for answering
I will be more explicit.
1.-I have a computer whit two network card on eth0 I have a pppoe connection to the internet on second card I want to give internet via switch to computers that are operating Windows or Mac OS and I did this,but the other computer a getting ip- addresses assigned automatic by my computer and they are getting and internet but I can`t access all the web sites
like {.com ; .org ; .info} from the computers that are getting internet from my computer.
2.-When I set up the samba server he created a connection for sharing files if I want to access the file that are share I can`t access the internet in the same time.
Code:
MyComputer
pppoe->| |
eth0 eth1
|
switch
| |
Win OS|
Mac OS
Thank`s wery much for your answers and your time.
Last edited by bizarr; 03-01-2009 at 05:47 AM.
|
|
|
03-01-2009, 06:16 PM
|
#6
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
still kinda confusing...
but here is what i think.. samba should be configured to listen to eth1
and you need a firewall software like firestarter ( http://www.fs-security.com/) to setup internet, configureing eth0 as the external interface and eth1 as the network interface
or you could do the firewall manually using iptables/ipchains
but firestarter would be easier
also another good gui admin tool is webmin ( www.webmin.com)
also the ip of eth1 must be static and that ip address will be the 'gateway' set for the computers behind it, after that, use you isp's DNS server as the dns server for all the meachines, even the ones behind eth0
i used to have a similar situation and that's how i did it except for me it was a dialup modem instead of a pppoe connection so my 'external' interface was ppp0
Last edited by frieza; 03-01-2009 at 06:20 PM.
|
|
|
All times are GMT -5. The time now is 06:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|