connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2010-03-08 Thread anand ganti
i found the link on connecting bsd gnome to dsl internet darn helpful.i
connected to dsl using the code written by mr doug i believe to work
correctly inside a freebsd guest os inside vmware player using which i
connected gnome to dsl internet .in between i had the tryst with vi typing
code into rc.conf file had good fun there .typing this email from gnome bsd
8 internet email as a result .odes of gratitude
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-13 Thread Yance Kowara

  I have tried searching the net with FreeBSD+DSL
 but all I can read is
  about PPPoE which requires a username and
 password which I don't
  have. My DSL account is an always on account
 with a static IP
  address and I guess it doesnt have a
 username/password for connection
  to the ISP.

My DSL is always on and I get static IP, however, I do
have a user name and password. I am in Australia by
the way.

You may try getting an ADSL modem+router, not just an
ADSL modem. The router will connect to the ISP, and it
is via PPPoE, the modem provides DHCP, then you
can connect your 4.10 to it. But then again, I do
supply username and password to the ADSL router.

Please find out from your ISP if you do get a
username+ password.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Cheezy Vines
Hello everyone!

I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
address. The DSL connection setup uses an ADSL modem (SMC7901BRA) 
which has 1 connection to my phone line and 1 connection to my LAN
card using UTP cable. In Windows XP setup, the process of setting up
Internet is just as easy as configuring the TCP/IP prpoerties with the
static ip address given to me and other details such as gateway, dns,
subnet mask etc.

My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
I can easily connect to the Internet using the WinXP. But, I want to
try FreeBSD to connect to the Internet, but it doesn't work.

Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
1. Reboot or boot to FreeBSD-4.10
2. Login as root
3. /stand/sysinstall to assign IP address, gateway, and dns
4. Reboot machine to make sure new IP settings take effect
5. Do an ifconfig and see that the IP settings are correct
6. I can ping my own IP address (static IP address of the DSL assigned
by my ISP)
7. When I try to ping the ISP's given gateway, I receive ping to:
Host is down.
8. Seeing the modem status, the LAN and SYNC signals are up but
the DATA is off.

I have tried searching the net with FreeBSD+DSL but all I can read is
about PPPoE which requires a username and password which I don't
have. My DSL account is an always on account with a static IP
address and I guess it doesnt have a username/password for connection
to the ISP.

Does FreeBSD need to detect my DSL modem if it is connected to the NIC
using a UTP cable connected to the modem? Here's my setup:

[DSL modem]-[DSL Provider] (provides static IP address) 
|
|
|
[FreeBSD's LAN card]

Does anybody has an experience connecting FreeBSD to a DSL with a
static IP address and has similar setup above?

Actually my real purpose is to use FreeBSD as LAN gateway using the
DSL connection. But I wanna try first connecting the FreeBSD machine
as a stand-alone PC which uses the simple setup above. If this setup
works, the gateeway setup will surely work too.

Thank you very much!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Edwin D. Vinas
Hello everyone!

I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
address. The DSL connection setup uses an ADSL modem (SMC7901BRA)
which has 1 connection to my phone line and 1 connection to my LAN
card using UTP cable. In Windows XP setup, the process of setting up
Internet is just as easy as configuring the TCP/IP prpoerties with the
static ip address given to me and other details such as gateway, dns,
subnet mask etc.

My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
I can easily connect to the Internet using the WinXP. But, I want to
try FreeBSD to connect to the Internet, but it doesn't work.

Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
1. Reboot or boot to FreeBSD-4.10
2. Login as root
3. /stand/sysinstall to assign IP address, gateway, and dns
4. Reboot machine to make sure new IP settings take effect
5. Do an ifconfig and see that the IP settings are correct
6. I can ping my own IP address (static IP address of the DSL assigned
by my ISP)
7. When I try to ping the ISP's given gateway, I receive ping to:
Host is down.
8. Seeing the modem status, the LAN and SYNC signals are up but
the DATA is off.

I have tried searching the net with FreeBSD+DSL but all I can read is
about PPPoE which requires a username and password which I don't
have. My DSL account is an always on account with a static IP
address and I guess it doesnt have a username/password for connection
to the ISP.

Does FreeBSD need to detect my DSL modem if it is connected to the NIC
using a UTP cable connected to the modem? Here's my setup:

[DSL modem]-[DSL Provider] (provides static IP address)
|
|
|
[FreeBSD's LAN card]

Here's the modem's technical description:
https://secure.quicksolve.com.au/catalog/product_info.php?cPath=products_id=2991
http://sg.hardwarezone.com/priceguide/info.php?cid=113id=11104

Does anybody has an experience connecting FreeBSD to a DSL with a
static IP address and has similar setup above?

Actually my real purpose is to use FreeBSD as LAN gateway using the
DSL connection. But I wanna try first connecting the FreeBSD machine
as a stand-alone PC which uses the simple setup above. If this setup
works, the gateeway setup will surely work too.

Thank you very much!


-- 
--
Edwin D. ViƱas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread Luke Kearney

On Sat, 12 Mar 2005 19:27:51 -0800
Edwin D. Vinas [EMAIL PROTECTED] spake thus:

 Hello everyone!
 
 I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
 address. The DSL connection setup uses an ADSL modem (SMC7901BRA)
 which has 1 connection to my phone line and 1 connection to my LAN
 card using UTP cable. In Windows XP setup, the process of setting up
 Internet is just as easy as configuring the TCP/IP prpoerties with the
 static ip address given to me and other details such as gateway, dns,
 subnet mask etc.
 
 My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
 I can easily connect to the Internet using the WinXP. But, I want to
 try FreeBSD to connect to the Internet, but it doesn't work.
 
 Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
 1. Reboot or boot to FreeBSD-4.10
 2. Login as root
 3. /stand/sysinstall to assign IP address, gateway, and dns
 4. Reboot machine to make sure new IP settings take effect
 5. Do an ifconfig and see that the IP settings are correct
 6. I can ping my own IP address (static IP address of the DSL assigned
 by my ISP)
 7. When I try to ping the ISP's given gateway, I receive ping to:
 Host is down.
 8. Seeing the modem status, the LAN and SYNC signals are up but
 the DATA is off.
 
 I have tried searching the net with FreeBSD+DSL but all I can read is
 about PPPoE which requires a username and password which I don't
 have. My DSL account is an always on account with a static IP
 address and I guess it doesnt have a username/password for connection
 to the ISP.
 
 Does FreeBSD need to detect my DSL modem if it is connected to the NIC
 using a UTP cable connected to the modem? Here's my setup:
 
 [DSL modem]-[DSL Provider] (provides static IP address)
 |
 |
 |
 [FreeBSD's LAN card]
 
 Here's the modem's technical description:
 https://secure.quicksolve.com.au/catalog/product_info.php?cPath=products_id=2991
 http://sg.hardwarezone.com/priceguide/info.php?cid=113id=11104
 
 Does anybody has an experience connecting FreeBSD to a DSL with a
 static IP address and has similar setup above?
 
 Actually my real purpose is to use FreeBSD as LAN gateway using the
 DSL connection. But I wanna try first connecting the FreeBSD machine
 as a stand-alone PC which uses the simple setup above. If this setup
 works, the gateeway setup will surely work too.
 
 Thank you very much!
 

Just out of curiosity did your ISP give you a username and passwd ? Did
your ISP provide the DSL Modem ?  

Certainly posting the rc.conf of your freebsd machine will help as might
the output of netstat -rn

thanks


-- 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address

2005-03-12 Thread doug
If your ISP does not use PPPoE it is really quite simple. I included my laptop
rc.conf just to show it plays no part: 

  hostname=mneme.boltsys.com
  moused_enable=YES
  sshd_enable=YES
  usbd_enable=YES

  linux_enable=YES
  nfs_client_enable=YES
  nfs_server_enable=YES
  nfs_reserved_port_only=YES
  rpcbind_enable=YES

I take this system around to a site using cable, dsl, my office where I connect
via a wireless network and, under duress dial-up. For that reason I boot up and
then connect. Every where except for the office that is as simple as: 

  dhclient ep0

as that the antique NIC I use. Both the cable modem and the DSL modem I connect
to provide DHCP on the inside. On the outside, the cable modem seems to get a
fixed IP from its network. My DSL connection uses 192.168.0 addresses but all
you have to do is connect to the modem as a gateway. My wireless setup:

  ifconfig wi0  wep wepkey 0x...
  dhclient wi0

If your modem has a fixed IP adding

   defaultrouter=xxx.xxx.xxx.xxx
   ifconfig_nic0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
 or
   ifconfig_nic0=DHCP

to rc.conf should be all you need.

You can of course do this manually by:

   ifconfig nic0 add inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
   route add default xxx.xxx.xxx.xxx

I would then first try to ping an IP address and then a host name. If your ISPs
DNS really is bad, you can change the hostname to localhost to avoid all the
dns timeouts. If it all works, netstat -nr will have a line something like:

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.23.3   UGS 012052wi0


I hope this helps




On Sat, 12 Mar 2005, Cheezy Vines wrote:

 Hello everyone!
 
 I have a FreeBSD-4.10 machine and a newly connected DSL with static ip
 address. The DSL connection setup uses an ADSL modem (SMC7901BRA) 
 which has 1 connection to my phone line and 1 connection to my LAN
 card using UTP cable. In Windows XP setup, the process of setting up
 Internet is just as easy as configuring the TCP/IP prpoerties with the
 static ip address given to me and other details such as gateway, dns,
 subnet mask etc.
 
 My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above,
 I can easily connect to the Internet using the WinXP. But, I want to
 try FreeBSD to connect to the Internet, but it doesn't work.
 
 Here's what I did to test if I can connect to Internet via DSL using FreeBSD:
 1. Reboot or boot to FreeBSD-4.10
 2. Login as root
 3. /stand/sysinstall to assign IP address, gateway, and dns
 4. Reboot machine to make sure new IP settings take effect
 5. Do an ifconfig and see that the IP settings are correct
 6. I can ping my own IP address (static IP address of the DSL assigned
 by my ISP)
 7. When I try to ping the ISP's given gateway, I receive ping to:
 Host is down.
 8. Seeing the modem status, the LAN and SYNC signals are up but
 the DATA is off.
 
 I have tried searching the net with FreeBSD+DSL but all I can read is
 about PPPoE which requires a username and password which I don't
 have. My DSL account is an always on account with a static IP
 address and I guess it doesnt have a username/password for connection
 to the ISP.
 
 Does FreeBSD need to detect my DSL modem if it is connected to the NIC
 using a UTP cable connected to the modem? Here's my setup:
 
 [DSL modem]-[DSL Provider] (provides static IP address) 
 |
 |
 |
 [FreeBSD's LAN card]
 
 Does anybody has an experience connecting FreeBSD to a DSL with a
 static IP address and has similar setup above?
 
 Actually my real purpose is to use FreeBSD as LAN gateway using the
 DSL connection. But I wanna try first connecting the FreeBSD machine
 as a stand-alone PC which uses the simple setup above. If this setup
 works, the gateeway setup will surely work too.
 
 Thank you very much!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]