Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 25th, 2000, 03:25 AM
Hideki Hideki is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 Hideki User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok, I'm new, but I had freeBSD installed on my PC and boots fine, but even I am connected to network, it doesn't connect to any site I want to view with Netscape.

I want to know how I can configure the network configuration on freeBSD.

TIA.

------------------
http://millennium.massassi.net/

Reply With Quote
  #2  
Old October 25th, 2000, 10:02 PM
tron's Avatar
tron tron is offline
SwollenMember
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: the master control
Posts: 264 tron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 14 m 57 sec
Reputation Power: 13
it might just be a simple problem with DNS, if you can ping an ip, but not a domain name, then you have a dns problem. you can fix this in netscape. if this is not the problem, then i think you can use netconf.

Reply With Quote
  #3  
Old October 26th, 2000, 01:44 PM
Hideki Hideki is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 Hideki User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok, I have a note-book pc connected through a LAN from a desktop, the desktop has a dial-up modem. Is it possible for the note-book PC to be connected to the internet via the LAN?

I have this working for Win98, but is it still possible for freeBSD?

------------------
http://millennium.massassi.net/

Reply With Quote
  #4  
Old October 27th, 2000, 05:02 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>I have this working for Win98, but is it still possible for freeBSD?

Yes.

Show me your /etc/rc.conf

Reply With Quote
  #5  
Old October 27th, 2000, 06:17 AM
Hideki Hideki is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 Hideki User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Since I don't know how to connect to the net on freeBSD, I can't just copy&paste here, so I'll try to read and type it. I'll leave out the comments in the actual file.

pccardd_flags=" -i 1 -i 2 -i 3 -i 4 -i 5 -i 6 -i 7 -i 8 -i 9 -i 10"
pccard_mem="DEFAULT"
moused_port="/dev/psm0"
moused_enable="YES"

keymap="jp.106"
hostname="laptop.sfc.keio.ac.jp"

hostname="laptop.sfc.keio.ac.jp"
network_interfaces="auto"
pccard_ether="wi0 ed0 ep0"
ifconfig_fxp0="DHCP"
ifconfig_ed0="DHCP"
ifconfig_ep="DHCP"
ifconfig_wi0="DHCP"
linux_enabled="YES"
keymap="jp.106"
sendmail_enable="NO"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-3 -z 4"
moused_enabled="YES"
pccard_enabled="YES"
pccardd_flags=""
pccard_mem="DEFAULT"
apm_enable="YES"
apmd_enable="YES"

That's all without comments.

------------------
http://millennium.massassi.net/

[This message has been edited by Hideki (edited October 27, 2000).]

Reply With Quote
  #6  
Old October 27th, 2000, 07:48 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Are you sure you have a DHCP server running at your Win98 Desktop? If so, your rc.conf looks fine. Otherwise, you have a few options:
(1) Get Sygate at http://www.sygate.com/free/sgdownload.htm and disable Internet Sharing for your Win98 Desktop (only if it's running) and let Sygate take care everything.

(2) Do not use DHCP:
ifconfig_fxp0="DHCP"
ifconfig_ed0="DHCP"
ifconfig_ep="DHCP"
ifconfig_wi0="DHCP"
You need to figure out which network interface is actually connecting to your Desktop.

Example:

Desktop PC has a NIC assigned to a local static IP -> 192.168.0.1 and netmask -> 255.255.255.0

Laptop's NIC, set your defaultrouter to 192.168.0.1 and assign a local IP (i.e. 192.168.0.2 manually).
You can do this via /stand/sysinstall but with GUI tool, you LEARN nothing. So to do it by hand, start editing rc.conf directly.
Let say ed0 is the interface connect to your Desktop, you need to change your "ifconfig_ed0="DHCP"" line to:

ifconfig_ed0="inet 192.168.0.2 netmask 255.255.255.0"
Then add this line right below it:
defaultrouter="192.168.0.1"

If you choose the Sygate method, be sure to enter the proper nameserver IPs in the "Advanced" configuration.
For the other method, edit /etc/resolv.conf like so:

domain sfc.keio.ac.jp
nameserver 123.45.67.89
nameserver 123.45.67.90

Note, you may try the "whois" command to find that out.

Be sure to update your /etc/hosts file as well.


Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > freeBSD

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap