Page 1 of 1

here my bug-report Porteus 2.0 rc2 32bit

Posted: 30 Jan 2013, 20:46
by KnallKopf
- The keyboard selection does not work:
Only 4 language exist.
This changing sometimes and proactively.

- I can not change my screen resolution.

- In SpaceFM:
I Can not mount my Windows Partition and i can not run smb://127.0.0.1
i get this Message "udevil: denied 77: user root is not in allowed groups"



Other bad things:
- no kwrite exist.
- in my view a got OS should should never send or listen unsolicited data to a network.
In other words, netstat -atu display should be blank.
Cupsd and avahi is certainly useful, but what is Qlipper ?
and why connect this to Google ?

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 30 Jan 2013, 23:17
by brokenman
- The keyboard selection does not work:
Only 4 language exist. This changing sometimes and proactively.

You can change the keyboard layouts with a cheatcode kmap= or by entering into a console: setxkbmap fr

- I can not change my screen resolution.
Thanks, i will take a look. Perhaps include lxrandr.

- In SpaceFM:
I Can not mount my Windows Partition and i can not run smb://127.0.0.1
i get this Message "udevil: denied 77: user root is not in allowed groups"

Will check it out.

Other bad things:
- no kwrite exist.

Yes. This is not kde.

- in my view a got OS should should never send or listen unsolicited data to a network. In other words, netstat -atu display should be blank.
Agreed

Cupsd and avahi is certainly useful, but what is Qlipper ? and why connect this to Google ?
It is a clipboard application. Are you certain it is sending data to google?

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 31 Jan 2013, 16:13
by KnallKopf
Sorry no. I can not Certain.
The reason is for my supposition:
after booting

Code: Select all

netstat -utnpa
show me this:

http://pastebin.de/raw/?id=32564

and i copied "173.194.66.105" and put it to my browser.
Then i see Qlipper with the address and thing he is guilty.

Wait a little bit i will try to capture some packets.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 31 Jan 2013, 17:50
by Hamza
173.194.66.105 is one of Google server ip which is displayed home page of Google search. You can easily found them as they use the mathematic shortcut domain name, 1e100. This is mathematic shortcut means Google.

Code: Select all

setxkbmap fr
this command is a sample. you should change the "fr" which is your language identifier to your language idenfifier.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 02 Feb 2013, 10:10
by KnallKopf
Thanks "kmap=" works fine. I have forgotten.


"173.194.66.105 is one of Google server ip"
I know, but which application use the google start page and how can I stop this.


I have make a test and capture all network traffic from Porteus.
I found:
ARP IPvAutoconf IGMP MDNS DHCP
It is OK. I think it comes from the kernel, avahi and dhcpcd.
But one programm request the head from the google start page.
User-Agent: Wget 1.14

I is the same on Porteus 64

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 02 Feb 2013, 19:15
by Hamza
Have a look into /opt/porteus-scripts folder

This is a function written by a brokenman to check if Internet connection is active. I can't remember where the script which is ran at boot is located.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 03 Feb 2013, 10:18
by Rava
KnallKopf wrote:"173.194.66.105 is one of Google server ip"
I know, but which application use the google start page and how can I stop this.
What browser do you use? If Firefox, what is your default search engine?
duckduckgo, as it was in 1.2, or google?
When 2.0 changed it to google, it could be that the autocomplete when searching via Ctrl+K (the search box of FFx in the top right corner) is the issue...

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 03 Feb 2013, 12:44
by brokenman
This is a function written by a brokenman to check if Internet connection is active. I can't remember where the script which is ran at boot is located.
There should be no network traffic 'at boot'. Only after starting certain applications that may require network access. If you are performing your test after opening an application that could require network access, expect attempts to access the network. Otherwise after a fresh boot you should see no attempt to access network in netstat.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 03 Feb 2013, 17:09
by brokenman
KnallKopf
I just double checked and screen resolution changes successfully. Menu/Preferences/Monitor settings.

We have also included a 'mount-manager' in the menu which i would advise for mounting network shares. It uses the same technique as smb: but gives you more options.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 04 Feb 2013, 14:51
by KnallKopf
I do not starting any application at test.
I start the router-PC with wireshark, then I start porteus on another PC.
I see HTTP (and DNS) traffic to google.
I have used other bootparameters only.
(grub):

Code: Select all

from=${CDPATH} noswap nomagic noauto norootcopy volume=0% ramsize=60% kmap=de copy2ram


i have found the culprit:

/opt/porteus-scripts/xpns-tool
line 521-528

Code: Select all

## Check for good connection
if [ "$METHOD" == "wifi" -o "$METHOD" == "wired" ]; then 
  if (wget -q --spider --force-html --inet4-only http://www.google.com >/dev/null 2>&1); then
    connected=1
	else
    unset connected
  fi
fi 

/opt/porteus-scripts/xorg/ppm-notification-helper
line 4-12

Code: Select all

# Check internet connection first:
chkinet() { wget -q --spider --force-html --inet4-only google.com; }
delay=5
while [ $delay -gt 0 ]; do
    chkinet && inet=yes && break
    sleep 1
    let delay=$delay-1
done
[ "$inet" ] || exit
for me i have fix it with:
if true ; then
and
chkinet() { return 0; }

But I think this is not in the sense of the inventor.



Menu/Preferences/Monitor settings
Does not work. (I enter a new resolution but it does nothing)
I will try to find more details.
This is not the ordinary, in the future i have some problems with the combination of
GeForce GTX 550 Ti and the screen Hyundai L72D (17" 3:4).
But Porteus-64 work fine.



"We have also included a 'mount-manager'"
Nice !
I will have a look in more detail in the future.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 04 Feb 2013, 20:18
by Rava
If this might help... I have some scripts that get my my current internet IP by downloading certain web pages that just tell me that, my ip, that is...
Would accessing any such page be better than asking google? But when it comes to uptime and running security , sure google will beat all these pages...

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 04 Feb 2013, 21:30
by fanthom
@ KnallKopf
xpns tool operates only when you start it by hand.
ppm-notification-helper takes an action after every login to GUI. it checks if inet connection is available then sniffs official repo changelog and displays notification about new xzm packages.

the initial plan was to have ppm-notification-helper disabled by default.
people who:
a) save changes
b) want this feature
could enable it through PPM preferences.

brokenamn did not implement a notification function in PPM yet so i left it enabled by default in rc2.
if PPM wont get updated with this feature then i'll disable it for final.

there is no need to dig into code, running 'chmod -x /opt/porteus-scripts/xorg/ppm-notification-helper' is enough to disable it.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 15 Feb 2013, 22:29
by brokenman
Perhaps the net check should be done against the repository. Google may be up but the repo may be down. About the udevil error, i can't reproduce this. I successfully mount my windows share using the mount manager.

Re: here my bug-report Porteus 2.0 rc2 32bit

Posted: 15 Apr 2013, 22:10
by Sagittarius
brokenman wrote: About the udevil error, i can't reproduce this. I successfully mount my windows share using the mount manager.
I just mounted a stick as root in Porteus 2.0 32-bit and also got a udevil error when trying to access it:

"Mount /dev/sdb1
Finished with error ( exit status 2 )
udevil: denied 77: user root is not in allowed groups"