Notices


Reply
Thread Tools
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#71
Originally Posted by peterleinchen View Post
@halftux
brilliant!
Thank you
Still it is not complete but more useable than before.
Iptables logging should also be possible when you install sysklogd and if your running kernel supports ip filter logging.

I had some problems replacing simple-syslog-daemon with sysklogd. I needed to create manually a directory.

Code:
devel-su
mkdir /usr/share/man/man8
apt-get install sysklogd
or
dpkg -i sysklogd_2.5-5maemo3.120m6_armel.deb
If klogd is not installed you also need to install klogd_2.5-5maemo3.12+0m6_armel.deb.

Originally Posted by peterleinchen View Post
(what about openrepos.net ?)
Done: https://openrepos.net/content/halftux/genwall

Last edited by Halftux; 2015-07-29 at 11:31.
 

The Following 3 Users Say Thank You to Halftux For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#72
Originally Posted by mr_pingu View Post
..., why isn't genwall allowed to be executed as root by user, as it HAS sudoers file as proved in earlier posts
Finally I had the same problem like you. I wiped and flashed one of my N900 and after installing genwall, I also could not start it with the desktop file. Before I installed rootsh and openssh.

After changing the genwall.desktop file in "/usr/share/applications/hildon/".
Code:
Exec=sudo run-standalone.sh /opt/genwall/genwall
changed to
Exec=sudo /usr/bin/run-standalone.sh /opt/genwall/genwall
I could start genwall also with the desktop file.
Then I reversed my changes and I still could start with the desktop file.
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#73
So here for everyone who is wondering that no comment was made after the last release.

latest version 1.1.4 changelog:
* wifi adhoc fixed message box
* wifi adhoc check for wireless-tools
* wifi adhoc pid file gets removed
* wifi adhoc reset ip when deactivated
* usb lan reset ip when deactivated
* fixed dnsmasq pid file for lan only
* added kernel arp table (clients)
* enhanced dnsmasq info
* bt pan added check connection
* adv. settings lsof command modular
New features:

Kernel arp table
{Route-IP info}->button:clients
shows connected clients

Enhanced dnsmasq info
{Route-IP info}->button:dnsmasq
shows dhcp leases

Lsof modular command
{Local-Settings}->button:advanced settings
There you can change the command which output is shown in {Local-lsof}. Be aware that this command runs as root. You can put different parameters or different commands like netstat or ifconfig....
 

The Following User Says Thank You to Halftux For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#74
N900 6th anniversary genwall release out now. With this you can link two N900s via bt pan.

changelog 1.2.0
* depends on libqtm-12
* changed package description
* changed resolv handling
* added open dns server as default
* added window titles
* added lsof command to save ini
* fixed save ini block host load file
* refresh filter view when deleting rules
* added bluetooth manager
* added initiate panu connection
* added top menu
* added request for dhcp ip
New Features:

Changed resolv handling
there is now an option to add DNS servers to a temporarily resolv file (/var/run/resolv.conf).
The file /etc/resolv.conf will be untouched.

Added bluetooth manager
now there is the possibility to search and pair bluetooth devices.
It is also possible to list the services.
Furthermore you can initiate a bt pan connection.
With this you can make a bt pan connection to another N900(Tutorial will follow).

Added "dhclient" dialog
for requesting a dhcp ip address for device usb0 or bnep0
 

The Following 7 Users Say Thank You to Halftux For This Useful Post:
Sohil876's Avatar
Posts: 130 | Thanked: 132 times | Joined on Jan 2013 @ India
#75
Originally Posted by Halftux View Post
Furthermore you can initiate a bt pan connection.
With this you can make a bt pan connection to another N900(Tutorial will follow).
Would definetly like to know this, also can it be like n900 client any other device as server on bt pan? is it possible to include bt dun in genwall server/client like bt pan?

Last edited by Sohil876; 2015-11-26 at 12:51.
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#76
Originally Posted by Sohil876 View Post
Would definetly like to know this, also can it be like n900 client any other device as server on bt pan?
If I understand correctly it should be possible, but soon you could read the tutorial and try.

Originally Posted by Sohil876 View Post
is it possible to include bt dun in genwall server/client like bt pan?
I will set this on the todo/try list.
 

The Following 3 Users Say Thank You to Halftux For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#77
Bluetooth PAN Connection

blue theme N900(1)
orange theme N900(2)
Tutorial is attached to this thread for copy to genwall help.[/LIST]

Prerequirements for pan:

[N900]
/etc/bluetooth/main.conf
comment out: DisablePlugins =network,input,hal


Search/Pair BT device:
  1. [N900] switch on bluetooth and make it discoverable


  2. [N900] {Route-BT} click search button
  3. [N900] {Route-BT} click scan button

    mac address color code: white=not paired; blue=paired; green=trusted paired
  4. [N900] right click on found mac-address. Click Auth Pair.
  5. [N900] Accept pair.
  6. [N900(2)] Accept pair.

Create PAN between 2 devices

-[N900] see if the other device support pan service
[N900] genwall

{Route-BT}
  1. Search BT devices (see above)
  2. Select BT mac address (it must be a trusted device, it should be green)
  3. Push connect button. Check under {Route-IP info} if bnep0 has an ip address. If bnep0 has no ip address try to push stop and start button.

[N900(2)] genwall

{Route-IP info}
  1. After bluetooth icon becomes blue push dhclient button.
  2. Choose bnep0 as interface and confirm with ok button.
  3. Now you should have an ip address.
  4. To end the connection push the stop button on N900
Attached Files
File Type: zip help_bt_pan.zip (108.5 KB, 39 views)
 

The Following 4 Users Say Thank You to Halftux For This Useful Post:
Sohil876's Avatar
Posts: 130 | Thanked: 132 times | Joined on Jan 2013 @ India
#78
Originally Posted by Halftux View Post
If I understand correctly it should be possible, but soon you could read the tutorial and try.



I will set this on the todo/try list.
Tried a android phone which supports pan as server, set it on bluetooth tethering and tried to connect via genwall, it connects but dissconnects in a moment. About, bluetooth dun yeah please do, it will definetly help me and others who have n900 with dead sim slots and have spare dumb phones with dun support, there is matans thread on it but it never fully worked.
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#79
Originally Posted by Sohil876 View Post
Tried a android phone which supports pan as server, set it on bluetooth tethering and tried to connect via genwall, it connects but dissconnects in a moment.
If connect to "gn":
For the android I got a message and needed to allow the N900 to connect otherwise it will disconnect. If a connection timed out or fails after this you need to push the stop button before try to connect again.

*Edit: I thought I got it running once and could use internet from android. The only thing is I can't get automatic an ip address from an android device. So I put manually an IP corresponding to the android btn0 ip, added DNS server and the gateway I set to the btn0 ip. But now can't get it to work.


Originally Posted by Sohil876 View Post
About, bluetooth dun yeah please do, it will definetly help me and others who have n900 with dead sim slots and have spare dumb phones with dun support, there is matans thread on it but it never fully worked.
Need to look into the kernel modules, test config files and writing a gui this will take some time.

Last edited by Halftux; 2015-11-27 at 20:42.
 

The Following User Says Thank You to Halftux For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#80
Released version 1.2.1

added nap profile for connecting
  • N900: connect with nap
  • android: accept connection
  • N900: request dhcp (dhclient bnep0)

Now you should be able to use internet from other device.
It could be that the pairing from genwall is not working 100% with android, so to be save initiate the pairing from android.
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:59.