Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kelvin1997

#1
General Discussion / Re: "make everything" Failed
April 05, 2016, 12:33:00 PM
thanks for trying to do a "remote shell" with me ;)
what is in /tmp/sets/ # ls

base-16.1.8-i386.obsolete
kernel-16.1.8-i386.txz
base-16.1.8-i386.txz

That's all. We don't have packages-* in this folder.
#2
General Discussion / Re: "make everything" Failed
April 04, 2016, 11:03:41 PM
Here is the screenshot:
(click to enlarge)

I noticed the screenshot says reusing base set 16.7.a files, so I to go in /tmp/sets/ and delete all of them then double check I do 'git checkout 16.1.8' and try again:

'make  base' passed
'make kernel' passed
'make ports' failed Error Code 1.

Unfortunately, same error.
#3
General Discussion / Re: "make everything" Failed
April 04, 2016, 04:44:24 PM
I tried to 'git checkout 16.1.8' for core, src and tools. Then 'make everything' again, last pic is the error occurred.

(click to enlarge)

(click to enlarge)

(click to enlarge)

(click to enlarge)

@Aadolf, seems to give me the same error with or without TYPE=opnsense:
   root@:/usr/tools # make everything TYPE=opnsense
doesn't make and difference.
#4
MY BACKGROUND is that I am a .net programmer, good with major js libs, all sorts of patterns, done 2t, 3t projects, can do PHP on IIS. I know little about Perl and BSD. But I believe once I get over the initial environment barriers I can pick up quickly, I am willing to learn. So here I am! :)

MY GOALl is to replicate a speed limiter like this https://forum.pfsense.org/index.php?topic=68865.0. It has been written, so I don't have to start from scratch. It can be done the similar way as Hello World sample. It will end up being useful as it is one of the *Most Wanted* features.

MY BARRIERS are:

  • How to setup a debuggable development environment? What debugger/method do we use?
  • Where to find a list of available functions in API? Which folders/docs/links to look into?
  • How to link my Perl code with the Hello World code? Sample to make Perl and PHP talking to each other?

Please throw me any development experience, help me to kick start my project :) Appreciated!
#5
General Discussion / "make everything" Failed
April 04, 2016, 02:52:46 AM
So I follow the build instructions at https://github.com/opnsense/tools cloned everything from git today. When I try to 'make everything'  it says failed at 'make ports' Error Code 1. So I don't get anything in '/tmp/images'.

Is it supposed to compile correctly when I get it from git? Or am I expecting errors from unfinished development? How do I compile a 'stable version'?
#6
Quote from: kelvin1997 on April 01, 2016, 06:29:00 AM
It could also be the chipset/driver as fabian suggested. Has this been tried with a FreeBSD 10.2 or did this work on the particular hardware before on OPNsense?

I have two of these TL-WN651G cards both worked on my two old win7 work stations before.
Thanks for your ref link. I am reading it.
https://forum.opnsense.org/index.php?topic=1786
An USB wireless stick was mentioned, also it is suggested to use an external AP for more an appropriate setup. But if possible I still like a PCI/PCI Express card.
#7
Quote from: fabian on March 31, 2016, 08:29:43 AM
It can be a driver issue
Want to ask you guys, what is the most commonly used inexpensive wireless card that works for OPNSense?

Could you tell me one or two commonly used models please?

@bartjsmit sorry should be 10.1.1.1, also tried 192.168.0.1
#8
Please take a look at my configurations and guide me if I have done anything wrong? I assume the hardware is working fine, my OPNSense box can see surrounding WIFI networks from "Interfaces->Wireless->Status", and my laptop can detect the surrounding WIFI networks, but my laptop can't see my OPNSense box. Here are my settings.

OPNSense UI Wireless Settings ---------------------------------------------------
(left blank or default where not mentioned)
Enable Interface yes

Static IPv4
Speed and duplex Default (no preference, typically autoselect)
IPv4 address 20.1.1.1
IPv4 Upstream Gateway None

Standard 802.11g
Protection mode off
Transmit power 18
Antenna Settings Default Auto Auto
Distance Setting 100
Regulatory domain ROW
Country Australia -- (AU ROW)
Location Indoor

Mode Infrastructure (BSS)
SSID OPNTest
Hide SSID  Unchecked
Enable WME yes
Enable WPA
WPA pre-shared key *********
Authentication Open System Authentication
WPA Pairwise AES Recommended
Key Rotation 60
Master Key Regen 3600

APPLY CHANGES

Hardware Factory Specs----------------------------------------------------------------
TP-Link TL-WN651G 108Mbps Super G Wireless PCI Adapter
http://www.mondoplast.net/datasheets/TL-WN651G.html
Protocol and Standards: IEEE 802.11g; IEEE 802.11b; CSMA/CA with ACK
Interface: 32-bit PCI 2.2
Frequency: 2.4~2.4835GHz
Radio Data Rate: 108/54/48/36/24/18/12/9/6/11/5.5/3/2/1Mbps (Auto Rate Sensing)
Spread Spectrum: DSSS
Modulation:1M DBPSK; 2M DQPSK; 5.5M, 11M CCK; 6M, 9M, 12M, 18M, 24M, 36M, 48M, 54M, 108M OFDM;
Transmission Distance:Indoor up to 100m, outdoor up to 300m
Transmit Power: 18dBm(Typical)
Data Security: WPA; 64/128/152 BIT WEP; TKIP/AES
Power Consumption: Typically 685mA in full Transmit (TX), 515mA in full Receive (RX)