Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #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: Austin, TX or the master control
Posts: 231 tron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 26 sec
Reputation Power: 8
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


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway