Ticket #9 (closed bug: fixed)

Opened 21 months ago

Last modified 21 months ago

SSH access missing from fw gui in dev mode

Reported by: rwhitby Owned by: john.crispin@…
Priority: low Milestone: First Release
Component: fon-web Version:
Severity:
Cc: Hardware:

Description

* rwhitby wonders what causes ftp and printer services to be included in the fw gui page, but not the ssh service ...
<iurgi> rwhitby: ssh should be there if you're in developer mode
<iurgi> rwhitby: ok
<rwhitby>    option  dev     1
<rwhitby> but no ssh on http://192.168.10.1/luci/fon_admin/fon_fw
<iurgi> hmmm
<iurgi> worked yesterday for me... diffrent image though
<iurgi> you're right
<iurgi> weird
<iurgi> /etc/config/services seems to be ok for ssh
<rwhitby> where is the luci code which produces those pages?
<iurgi> dunno
* iurgi is new to luci
* rwhitby does a find | xargs grep ...
<xMff>  /usr/lib/lua/luci/{model,controller,view}
<iurgi> xMff: thanks
<rwhitby>         if not(v.key == "ssh" and dev ~= "1") then
<rwhitby> is it a problem that dev is defined later in that file?
<xMff> rwhitby: can you tell me the path?
<rwhitby> in /usr/lib/lua/luci/view/fon_fw/services.htm
<xMff> yes
<xMff> http://trac.fonosfera.org/fon-ng/browser/trunk/luci/applications/luci-fonfw/luasrc/view/fon_fw/services.htm  L19-20 need to be moved up
<rwhitby> yep
<xMff> right before L8
<rwhitby> yes, just tested that and it works

Attachments

Change History

Changed 21 months ago by iurgi

  • status changed from new to closed
  • resolution set to fixed

Add/Change #9 (SSH access missing from fw gui in dev mode)

Author


Please use your email address ("Name <email@adress>" or just an address) so we can contact you with further questions. Your email address will not be public.

Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.