Results 1 to 2 of 2

Thread: FreeBSD Problem

  1. #1
    Anonymous
    Guest


    FreeBSD Problem

    ต้องการจะ: Config FreeBSD to able to use network
    Network Type: DHCP
    What I had done yesterday:

    1. ผมเอาค่าคอนฟิกจากเครื่องภายในวงแลนเดียวกันมาเป็นต้นแบบตามด้าน
    ล่าง

    Cocuments and SettingsAdministrator>ipconfig

    Windows 2000 IP Configuration

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . : it.kmutt.ac.th
    IP Address. . . . . . . . . . . . : 10.4.12.164
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.4.12.254

    2. ตอนติดตั้งบน FreeBSD มันก็จะขึ้นมาบอกว่า
    Scan DHCP ให้ด้วย มันใช้เวลาค้นหาอยู่พักนึง
    แล้วก็ขึ้นหน้าให้กรอกข้อมูลตามด้านล้างนี้ครับ
    (แปลกมากไม่รู้ว่า ตกลงมัน SCAN ได้สำเร็จหรือเปล่าทำไมถึงให้เรามากรอกข้อมูลเองอีก)
    ทีนี้ผมลองติดตั้งเลียนแบบด้านบนจริงๆ บน FreeBSD

    Hostname: test.it.kmutt.ac.th
    Domain: it.kmutt.ac.th
    Nameserver: 127.0.0.1
    Gateway: 10.4.12.254
    IPv4: 10.4.12.164
    SubNet:255.255.255.0

    3. Restart เครื่องแล้วลอง Ping IP อื่นๆดูมันบอกว่า
    no route to host

    ===========
    ผมเลยอยากถามว่า
    1. ตกลงวงแลนผมเป็นแบบ DHCP ทำไมตอนติดตั้ง FreeBSD มันเว้นช่องว่างให้ผมระบุ IP เองครับงงมันน่าจะกำหนดให้เราเองไม่ใช่เหรอครับ
    2. ผมลองหาเว็บที่อธิบายวิธีติดตั้งแล้วลองอ่านตามแล้วแต่ งงๆครับ

    http://www.freebsd.org/doc/en_US.ISO8859-1...twork-dhcp.html

    http://freebsd.peon.net/tutorials/17/

    http://www.mostgraveconcern.com/freebsd/dhcp.html

  2. #2
    Junior Member
    Join Date
    Oct 2006
    Posts
    13



    ปกติ ถึงแม้ ว่าเราจะกำหนดให้เป็น DHCP แล้ว ก็ตาม แต่ว่ามันยังให้เรา เติม หรือแก้ พวก IP , Gateway ได้


    หากว่าเรา ต้องการ ที่จะ config ให้ work ก็ ต้อง

    ก่อน อื่น ต้อง หาดู ก่อน ว่า lan card เรา ชื่อ อะไร

    โดย ใช้ คำสั่ง ifconfig

    มัน ก็จะ list lan card ให้เรา เช่นว่า หากว่า เป็น lnc0 หรือว่า lnc1

    ลอง ดู ใน file /etc/rc.conf
    ก็ จะมี คำสั่ง เช่น
    defualtrouter="192.168.0.1" >>Gate way ของเรา
    ifconfig_lnc0 = "DHCP" >> ตั้งให้มัน รับค่า่จาก DHCP
    ifconfig_lnc1 = "inet 192.168.0.134 netmask 255.255.255.0" >>ตั้งค่า IP แบบ manual

Similar Threads

  1. Fix torrentflux problem with Python on FreeBSD
    By Anonymous in forum FreeBSD
    Replies: 0
    Last Post: 30-01-2006, 10:35 PM
  2. Another file also get a little problem
    By Noppadol in forum PHP,ASP,Javascript, Html
    Replies: 2
    Last Post: 30-11-2004, 02:40 PM
  3. my problem
    By ar3s in forum Databases
    Replies: 1
    Last Post: 04-08-2004, 11:48 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Members who have read this thread: 0

There are no members to list at the moment.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •