How to configure properly PPPoE connection with TTL=1 ? (see below)



  • Hallo guys!
    I'm trying to install pfsense from a usb to the same usb since 24 hours. How can i do this? So tried to make my Flash Drive bootable - with unetbootin-windows and physdiskwrite-0.5.2-PhysGUI-bundle, but can't boot from my USB stick. So my first boot device is USB - as it should be. I tried with pfSense-1.2.3-RELEASE-1g-nanobsd.img, and pfSense-1.2.3-usbinstall.img - both of them didn't work for me. So can anyone tell me - 1) what should I download to use pfsense as a dedicated LAN server?
    2) how to make my usb bootable - in Windows?
    3) … I'll ask later for more, when I already have bootable USB flash ;)
    Thanks !  :)

    P.S.: My flash drive is 4 GB - if it's important

    P.S.2.: I've installed pfsense already, but I can't enter the graphical interface - what should I do?



  • Can your hardware boot from USB?  If not you'll never get this to work.

    Otherwise, simply write the nanobsd image to the flash stick, covered in the documentation.



  • @Cry:

    Can your hardware boot from USB?  If not you'll never get this to work.

    Otherwise, simply write the nanobsd image to the flash stick, covered in the documentation.

    So, the answer is yes it can.

    Actually i did have some problems with making this OS bootable on a flash drive. It is ready already.
    I have another problem now:

    maybe i should start a new topic for this…



  • Type ? to see what devices are present. You probably need to type something like ufs:da0s1a and then edit /etc/fstab so that on startup the system attempts to mount the root file system from the correct device for the configuration on which you are trying to run it.

    A common cause of this sort of problem is that the configuration of disk drives changes so that the device name of the disk holding the root file system changes. For example, you have USB drives on the system and install pfSense on da1. Then you remove da0 and reboot. The remaining USB drive is now called da0 (it used to be da1) and so the root file system has moved from da1 to da0.



  • @wallabybob:

    Type ? to see what devices are present. You probably need to type something like ufs:da0s1a and then edit /etc/fstab so that on startup the system attempts to mount the root file system from the correct device for the configuration on which you are trying to run it.

    A common cause of this sort of problem is that the configuration of disk drives changes so that the device name of the disk holding the root file system changes. For example, you have USB drives on the system and install pfSense on da1. Then you remove da0 and reboot. The remaining USB drive is now called da0 (it used to be da1) and so the root file system has moved from da1 to da0.

    This should be the case! I'll try out immediately. Then I'll post my progress back here.



  • wallabybob
    you were quite right about the mounting problem… Thanks  ;)
    but... unfortunately i have another problem/question:

    So i have this screen, and what should i do?
    Should i have an internet connection on the computer to have a GUI ? My goal is to have a working server for a small LAN network, and do basic monitoring with the GUI.



  • Ok, i found out that i have to access the server form another pc (through pc2). So my Pc2 is my laptop and i have ping to 192.168.1.1 which is the address I gave to the server's LAN interface. Pc2's DHCP address is 192.168.1.100 and the server have ping to it, but when i'm trying to connect trough my browser to http://192.168.1.1 - nothing happens  :(



  • The screen you most recently posted a snapshot of is the standard pfSense console menu.

    I think you have selected the wrong interfaces. That screen shot shows fwe as the WAN and fwip as the LAN. fwe is Ethernet emulation over firewire and fwip is IP over firewire. Is that really what you want?

    The following description assumes you are using real Ethernet for your LAN connections.

    At the console menu I suggest you pick option 1) Assign Interfaces and then (unless you are using VLANs) pick a to get the interfaces assigned when you insert the cable (which needs to be connected to something which generates carrier signal). Start with no cables connected to the pfSense box then when prompted for an interface (LAN or WAN) type a then <enter>then plug in the appropriate cable then repeat for the other interface.</enter>



  • @wallabybob:

    The screen you most recently posted a snapshot of is the standard pfSense console menu.

    I think you have selected the wrong interfaces. That screen shot shows fwe as the WAN and fwip as the LAN. fwe is Ethernet emulation over firewire and fwip is IP over firewire. Is that really what you want?

    The following description assumes you are using real Ethernet for your LAN connections.

    At the console menu I suggest you pick option 1) Assign Interfaces and then (unless you are using VLANs) pick a to get the interfaces assigned when you insert the cable (which needs to be connected to something which generates carrier signal). Start with no cables connected to the pfSense box then when prompted for an interface (LAN or WAN) type a then <enter>then plug in the appropriate cable then repeat for the other interface.</enter>

    I just did that and modified my last post…  So now i can't connect to webGUI ? That should be quite simple exercise, but... I'm doing something wrong may be..



  • Do you have 2 physical ethernet interfaces or are you only using firewire?



  • @Cry:

    Do you have 2 physical ethernet interfaces or are you only using firewire?

    I have 2 physical ethernet interfaces. The problem is solved already. I must to restart webconfigurator (option #11) and then I managed to connect into the server's webGUI.
    I have another problem yet. My ISP provides me PPPoE connection (limiting through MAC address, user name & password) and I connected the server to the internet, trough the WAN port. Then I configured my LAN card with DHCP range, and my laptop have an IP in this range. I have ping to 192.168.1.1, but when I'm trying to ping google.com I receive this : 
    Pinging google.com [209.85.148.103] with 32 bytes of data:
    Request timed out
    Request timed out

    So my client PC receives the DNS settings, because Command Prompt says:  Pinging google.com [209.85.148.103], so it knows that google, should answer to this IP address.
    My ISP's TTL=1, could that be the reason for "not having an Internet connection" trough my client PC ?



  • Can you ping it successfully from the pfSense host?



  • @Cry:

    Can you ping it successfully from the pfSense host?

    Yes, the pfSense host can ping everything, but the client PC after  - can't. So i think the problem should be in the ISP's TTL value (1). I just edited this script /etc/inc/filter.inc (from this topic here ) and I'll do restart now to check it out - does it works for me ;)



  • After I edited a script /etc/inc/filter.inc and it works for me!  8)
    (here is how should be done - thanks to  savago)


Log in to reply