Hi! Some general question + Wifi USB Realtek RTL8191S

Re: Hi! Some general question

Postby Msa-lacie » Wed Oct 02, 2013 11:01 am

Add:

now the web interface not loading. with o without usb dongle.

for ssh no problem.

thanks
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question

Postby fvdw » Wed Oct 02, 2013 6:52 pm

Msa-lacie wrote:Hi! many thanks,

I've see your message, (but, the replies are disabled?)

I had copied the image and rebooted, all works normaly, but, if I connect by ssh, I not have "lsusb" command to see the dongle.

this is the dmesg:

I not see nothing about usb.


only after 10 post you can sent pm messages
You should not use lsusb, please read my pm more carefully.
You should use the web interface, and it is working with this kernel unless you changed something in the bootscripts or firmware

Anyhow your dmesg log is normal and the rtl8192 driver is loaded
Code: Select all
    [   12.178464] Register Driver 'rtl8192cu'
    [   12.182595] usbcore: registered new interface driver rtl8192cu


Look here in the web interface for info on attached usb devices (of course your output will be different)
usb-info.JPG


If it is true what you say about web interface not working please connect with ssh and give command
Code: Select all
ps -ef | grep httpd
and post output

if httpd is not running then start it form the command line using this command
Code: Select all
/usr/bin/httpd -f httpd.conf -d /etc

and post the response, if you get the command prompt without a message httpd is running (do again the ps -ef | grep httpd command to check it)

I am running this kernel on my system and web interface works fine (see screen shot)
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question

Postby Msa-lacie » Thu Oct 03, 2013 9:47 am

Hi!

the http server works, but... look here:

Code: Select all
root@fvdwsl-base:/ # ps -ef | grep httpd
root       956   947  0 12:24 ttyp0    00:00:00 grep httpd


I can't open from web browser...

and if I restart the service:

Code: Select all
root@fvdwsl-base:/ # /usr/bin/httpd -f httpd.conf -d /etc
AH00112: Warning: DocumentRoot [/share/1000/tflux/tflux2/html] does not exist


thanks
I not have these directories:

Code: Select all
root@fvdwsl-base:/ # ls -la /share/1000/
total 60
drwxrwxrwx   7 root root  4096 2013-10-01 15:10 .
drwxrwxrwx   3 root root  4096 2013-09-29 17:30 ..
drwx------   2 root root 16384 2013-09-29 17:25 lost+found
drwxrwxrwx   2 root root  4096 2013-10-01 15:09 matteo
drwxrwxrwx   3 root root  4096 2013-10-01 15:14 minidlna
drwxrwxrwx   6 root root 24576 2013-10-02 13:32 movie
drwxrwxrwx  13 root root  4096 2013-10-02 10:16 public
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question

Postby Jocko » Thu Oct 03, 2013 12:07 pm

Msa-lacie wrote:Hi!

the http server works, but... look here:

Code: Select all
root@fvdwsl-base:/ # ps -ef | grep httpd
root       956   947  0 12:24 ttyp0    00:00:00 grep httpd


I can't open from web browser...
Of course because the httpd server was not running

Msa-lacie wrote:and if I restart the service:

Code: Select all
root@fvdwsl-base:/ # /usr/bin/httpd -f httpd.conf -d /etc
AH00112: Warning: DocumentRoot [/share/1000/tflux/tflux2/html] does not exist

It's a right output...
So for fvdw do again
Code: Select all
ps -ef | grep httpd
to check if httpd server is now running
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Hi! Some general question

Postby Msa-lacie » Thu Oct 03, 2013 6:34 pm

:scratch

Code: Select all
login as: root
root@10.20.30.100's password:
root@fvdwsl-base:/ # ps -ef | grep httpd
root      1127  1118  0 21:29 ttyp0    00:00:00 grep httpd
root@fvdwsl-base:/ # /usr/bin/httpd -f httpd.conf -d /etc
AH00112: Warning: DocumentRoot [/share/1000/tflux/tflux2/html] does not exist
root@fvdwsl-base:/ # ps -ef | grep httpd
root      1136  1118  0 21:30 ttyp0    00:00:00 grep httpd
root@fvdwsl-base:/ #


not work... (chrome or internet explosion, and the ip is correct)
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question

Postby fvdw » Thu Oct 03, 2013 6:41 pm

strange

httpd is not running, what does this command gives as output
Code: Select all
cat /var/log/httpd/error_log
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question

Postby Msa-lacie » Fri Oct 04, 2013 7:09 am

Hi,

this is the result:

Code: Select all
root@fvdwsl-base:/ # /usr/bin/httpd -f httpd.conf -d /etc
AH00112: Warning: DocumentRoot [/share/1000/tflux/tflux2/html] does not exist

root@fvdwsl-base:/ # ps -ef | grep httpd
root       852   839  0 10:05 ttyp0    00:00:00 grep httpd

root@fvdwsl-base:/ # cat /var/log/httpd/error_log
[Fri Oct 04 10:05:12.401984 2013] [core:emerg] [pid 847] (22)Invalid argument: A                                           
 H00024: Couldn't set permissions on the rewrite-map mutex; check User and Group directives
AH00016: Configuration Failed
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question

Postby fvdw » Fri Oct 04, 2013 4:46 pm

very strange , I had this error in the past myself and we modified the code to prevent . It is related to the permission set for user nobody. Nobody should have user and group id 99. Did you change that ?

if not then please give these commands and post output to see if the content of you httpd.conf file is right

Code: Select all
 cat /etc/httpd.conf | grep Group

and
Code: Select all
 cat /etc/httpd.conf | grep User
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question

Postby Msa-lacie » Sat Oct 05, 2013 8:14 am

I not have change nothing, at least, not deliberately ;)

Code: Select all
root@fvdwsl-base:/ # cat /etc/httpd.conf | grep Group
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
#  when the value of (unsigned)Group is above 60000;
#  don't use Group #-1 on these systems!
Group #-1


Code: Select all
root@fvdwsl-base:/ # cat /etc/httpd.conf | grep User
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
User nobody
# UserDir: The name of the directory that is appended onto a user's home
UserDir public_html
# Control access to UserDir directories.  The following is an example
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{User-agent}i" agent
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
root@fvdwsl-base:/ #
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Sat Oct 05, 2013 8:24 am

ah.. that explains why the web interface doesn't load, the content of your httpd.conf file is wrong. Strange that this file is in the firmware

give me a minute to figure it out
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 7 guests