XDMCP Remote login

2011-07-12 Thread Doug Kuvaas
OK, I have a couple Dell Optiplex 980s that I am trying to get set up for a
specialized application.  What I want to be able to do worked in Fedora 8
and earlier, but it has been broken since Fedora 9.

PC1 I want to set up so it queries another (HP-UX) machine for a graphical
CDE login to that system.  I have some success starting X manually using X
-query  -from , but I have not been able to get the
computer to boot up and display the CDE login.

So far I have tried a fresh Fedora 15 install with no window managers
installed, and after adding the remote host to /etc/hosts and /etc/X0.hosts,
as well as generating an xorg.conf file using Xorg :0 -configure, I am able
to get a CDE login using X -query 

PC2, I want to set up to act like a "dumb terminal", in other words, all I
want it to do is show the blank root window and a cursor unless I am sending
an application to it from the HP-UX machine.  I can get the blank root
window that I am after using just X :0 -br -terminate, however I am not
getting a cursor.

PC2 is actually PC1 right now as I am just trying to establish the procedure
to get both done.

I do not need any kind of display manager to be installed, though they do
come in handy for some of the setup.

xorg.conf:

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
FontPath "tcp/192.168.1.56:7000"
EndSection

Section "Module"
Load  "glx"
Load  "extmod"
Load  "record"
Load  "dbe"
Load  "dri2"
Load  "dri"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option"Protocol" "auto"
Option"Device" "/dev/input/mice"
Option"ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 8
EndSubSection
EndSection

Installation was a standard vanilla "Graphical" installation with no window
managers selected, and some of the development options selected. Kernel is
2.6.38.6-26.rc1.fc15.x86_64

The X11 application that these PCs will be running requires 8 bit color
depth and a resolution of 1280x1024.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: XDMCP Remote login

2011-07-13 Thread Doug Kuvaas
All right, my woes for this beast are down to one.  For some reason, if I
try to run X directly in 8 bit color mode, I get only greyscale output.
 Because the legacy application I am running doesn't work properly with
higher color depths (printing of displays doesn't work), I cannot run at a
higher color depth easily without re-writing the application I am running.

Command is Xorg :0 -terminate -br +bs -depth 8

The display driver is intel I830

Anyone have any ideas?

On Wed, Jul 13, 2011 at 4:06 AM, Alain Spineux  wrote:

> On Tue, Jul 12, 2011 at 11:30 PM, Doug Kuvaas 
> wrote:
> > OK, I have a couple Dell Optiplex 980s that I am trying to get set up for
> a
> > specialized application.  What I want to be able to do worked in Fedora 8
> > and earlier, but it has been broken since Fedora 9.
> > PC1 I want to set up so it queries another (HP-UX) machine for a
> graphical
> > CDE login to that system.  I have some success starting X manually using
> X
> > -query  -from , but I have not been able to get
> the
> > computer to boot up and display the CDE login.
> > So far I have tried a fresh Fedora 15 install with no window managers
> > installed, and after adding the remote host to /etc/hosts and
> /etc/X0.hosts,
> > as well as generating an xorg.conf file using Xorg :0 -configure, I am
> able
> > to get a CDE login using X -query 
>
> maybe try to add this to your /etc/gdm/custom.conf file
>
> [xdmcp]
> Enable=true (or 1 in some distributions)
>
> > PC2, I want to set up to act like a "dumb terminal", in other words, all
> I
> > want it to do is show the blank root window and a cursor unless I am
> sending
> > an application to it from the HP-UX machine.  I can get the blank root
> > window that I am after using just X :0 -br -terminate, however I am not
> > getting a cursor.
>
> X don't display cursor anymore , use -retro
>
>
> > PC2 is actually PC1 right now as I am just trying to establish the
> procedure
> > to get both done.
> > I do not need any kind of display manager to be installed, though they do
> > come in handy for some of the setup.
> > xorg.conf:
> > Section "ServerLayout"
> > Identifier "X.org Configured"
> > Screen  0  "Screen0" 0 0
> > InputDevice"Mouse0" "CorePointer"
> > InputDevice"Keyboard0" "CoreKeyboard"
> > EndSection
> > Section "Files"
> > ModulePath   "/usr/lib64/xorg/modules"
> > FontPath "catalogue:/etc/X11/fontpath.d"
> > FontPath "built-ins"
> > FontPath "tcp/192.168.1.56:7000"
> > EndSection
> > Section "Module"
> > Load  "glx"
> > Load  "extmod"
> > Load  "record"
> > Load  "dbe"
> > Load  "dri2"
> > Load  "dri"
> > EndSection
> > Section "InputDevice"
> > Identifier  "Keyboard0"
> > Driver  "kbd"
> > EndSection
> > Section "InputDevice"
> > Identifier  "Mouse0"
> > Driver  "mouse"
> > Option"Protocol" "auto"
> > Option"Device" "/dev/input/mice"
> > Option"ZAxisMapping" "4 5 6 7"
> > EndSection
> > Section "Monitor"
> > Identifier   "Monitor0"
> > VendorName   "Monitor Vendor"
> > ModelName"Monitor Model"
> > EndSection
> > Section "Screen"
> > Identifier "Screen0"
> > Device "Card0"
> > Monitor"Monitor0"
> > SubSection "Display"
> > Viewport   0 0
> > Depth 1
> > EndSubSection
> > SubSection "Display"
> > Viewport   0 0
> > Depth 4
> > EndSubSection
> > SubSection "Display"
> > Viewport   0 0
> > Depth 8
> > EndSubSection
> > EndSection
> > Installation was a standard vanilla "Graphical" installation with no
> window
> > managers selected, and some of the development options selected. Kernel
> is
> > 2.6.38.6-26.rc1.fc15.x86_64
> > The X11 application that these PCs will be running requires 8 bit color
> > depth and a resolution of 1280x1024.
> > --
> > users mailing list
> > users@lists.fedoraproject.org
> > To unsubscribe or change subscription options:
> > https://admin.fedoraproject.org/mailman/listinfo/users
> > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> >
> >
>
>
>
> --
> Alain Spineux   |  aspineux gmail com
> Monitor your iT & Backups |  http://www.magikmon.com
> Free Backup front-end   | http://www.magikmon.com/mksbackup
> Your email 100% available |  http://www.emailgency.com
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: XDMCP Remote login

2011-07-14 Thread Doug Kuvaas
I have not looked into using XNest, but it might be worth checking out.

Is it set up in a similar manner as Xorg?  These computers will have
touchscreens for control and that is the one issue that I have that has the
highest priority.  If I can't get the color depth thing figured out, it may
be easier to re-write the portion of the application that requires 8-bit
color depth than continuing to fight with the video card.

Thanks

On Thu, Jul 14, 2011 at 9:09 AM, Mikkel L. Ellertson
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 07/13/2011 01:43 PM, Doug Kuvaas wrote:
> > All right, my woes for this beast are down to one.  For some reason,
> > if I try to run X directly in 8 bit color mode, I get only greyscale
> > output.  Because the legacy application I am running doesn't work
> > properly with higher color depths (printing of displays doesn't
> > work), I cannot run at a higher color depth easily without
> > re-writing the application I am running.
> >
> > Command is Xorg :0 -terminate -br +bs -depth 8
> >
> > The display driver is intel I830
> >
> > Anyone have any ideas?
> >
> I am coming in late on this, but have you thought of using xnest?
> You could give the application its own X server running inside your
> normal X server. It handles lower resolutions/colors then the main
> server.
>
> Mikkel
> - --
>
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk4e+KgACgkQqbQrVW3JyMQDuQCfQP7aFQIHW9zX3RRXs3mllRrF
> KwEAnRx0gRRNaJmrwLjPOAO+sRlhLL5M
> =4cCg
> -END PGP SIGNATURE-
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How can I install F15 without a desktop environment

2011-07-14 Thread Doug Kuvaas
Absolutely!

You will probably need to get either the installation DVD or the Network
install CD, I don't recall seeing package options when installing from live
media.

http://fedoraproject.org/en/get-fedora-all

I would opt for the minimum install and then select "Customize now".  From
there you can select X and any other packages you may require.

Note that when you install Fedora with no DE, it defaults to runlevel 3 at
bootup.

Do you need to do anything special with X?

On Thu, Jul 14, 2011 at 10:19 PM, John Wendel  wrote:

> I need to install F15 without Gnome, KDE, XFCE, or LXDE.  The target has
> 1 GB of flash for the filesystem. So how can I install F15 with X, but
> without a DE?
>
> Thanks,
>
> John
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: XDMCP Remote login

2011-07-19 Thread Doug Kuvaas
On Thu, Jul 14, 2011 at 9:09 AM, Mikkel L. Ellertson
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 07/13/2011 01:43 PM, Doug Kuvaas wrote:
> > All right, my woes for this beast are down to one.  For some reason,
> > if I try to run X directly in 8 bit color mode, I get only greyscale
> > output.  Because the legacy application I am running doesn't work
> > properly with higher color depths (printing of displays doesn't
> > work), I cannot run at a higher color depth easily without
> > re-writing the application I am running.
> >
> > Command is Xorg :0 -terminate -br +bs -depth 8
> >
> > The display driver is intel I830
> >
> > Anyone have any ideas?
> >
> I am coming in late on this, but have you thought of using xnest?
> You could give the application its own X server running inside your
> normal X server. It handles lower resolutions/colors then the main
> server.
>
> Mikkel
> - --
>
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk4e+KgACgkQqbQrVW3JyMQDuQCfQP7aFQIHW9zX3RRXs3mllRrF
> KwEAnRx0gRRNaJmrwLjPOAO+sRlhLL5M
> =4cCg
> -END PGP SIGNATURE-
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>

OK, so Xephyr (another Nested X server) does address the color depth issue
we were seeing.  However, our application also does not like displaying
graphics on screens other than :0.  Is there w way to start up Fedora/Gnome
so that it uses a different screen number for X?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: XDMCP Remote login

2011-07-20 Thread Doug Kuvaas
On Tue, Jul 19, 2011 at 7:39 PM, Mikkel L. Ellertson
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 07/19/2011 05:14 PM, Doug Kuvaas wrote:
> > OK, so Xephyr (another Nested X server) does address the color depth
> > issue we were seeing.  However, our application also does not like
> > displaying graphics on screens other than :0.  Is there w way to
> > start up Fedora/Gnome so that it uses a different screen number for X?
>
> Well, if you were using xdm as the display manager, you could edit
> /etc/X11/xdm/Xservers and change
>
> :0 local /usr/bin/X :0
>
> to
>
> :1 local /usr/bin/X :1
>
> I do not know it kdm or gdm uses that config file, or have their
> own. I know they did use it way back when I needed to add an extra X
> server or two. But I have not worked with this lately. I am sure
> there are tools to configure them now. Someone else here is sure to
> know, and post the info...
>
> Mikkel
> - --
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk4mI80ACgkQqbQrVW3JyMRbZACfU3mbbb22LyiV9inGxrPsoHzD
> PQoAnRqPG0l1M7oBv59/JW9DL2wbL8iz
> =P7WT
> -END PGP SIGNATURE-
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>

That has been the problem I've been running into with newer versions of
Fedora.  Xorg and company have been moving towards a "work out of the box"
philosophy and have done away with a lot of the config files in favor of
dynamically generating these so things just work, and a simple hardware
change does not break the OS as often.  I've been trying to find where Xorg
is actually run, so I can get it to run the way I want.

Now that I have played with Xephyr a little bit, I have found that I
actually prefer this configuration for the way we are using these computers,
as opposed to just starting X with no window manager or just querying a
remote host.

Thanks for all the help so far.

Doug
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Xephyr nested X-server seems to ignore backing store option

2011-09-12 Thread Doug Kuvaas
I have been trying to use Xephyr for running an old legacy application that
doesn't function properly at color depths greater than 8 bit.  I have been
exploring this as a possible alternative to running X in 8-bit color mode,
primarily because X does not seem to work properly in 8 bit color mode
anymore.  I get a grayscale display instead of 8-bit color.  Xephyr seems to
work perfectly for what I want to do, with the exception of the backing
store.  I am running Xephyr with the options +bs -wm, however when I open a
menu on the legacy application or move some other screen object, the screen
behind it ends up either staying black or certain elements going missing
until I do something that causes the entire display to be re-drawn.  While
re-writing the portions of the application that don't play nice with color
depths beyond 8 bits, I  would like to get this working without requiring
updating our software if possible as we have many different locations using
their own customized versions.

I have verified that the backing store option does work for Xorg, both if I
run Fedora normally, that is load Gnome and use that as a display manager,
and if I just start Xorg manually with no display managers.

Any insights or help on getting this working would be appreciated.

Thanks in advance,

Doug K
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Xephyr nested X-server seems to ignore backing store option

2011-09-13 Thread Doug Kuvaas
On Mon, Sep 12, 2011 at 7:38 PM, Mikkel L. Ellertson
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 09/12/2011 05:00 PM, Doug Kuvaas wrote:
> > I have been trying to use Xephyr for running an old legacy
> > application that doesn't function properly at color depths greater
> > than 8 bit.  I have been exploring this as a possible alternative to
> > running X in 8-bit color mode, primarily because X does not seem to
> > work properly in 8 bit color mode anymore.  I get a grayscale
> > display instead of 8-bit color.  Xephyr seems to work perfectly for
> > what I want to do, with the exception of the backing store.  I am
> > running Xephyr with the options +bs -wm, however when I open a menu
> > on the legacy application or move some other screen object, the
> > screen behind it ends up either staying black or certain elements
> > going missing until I do something that causes the entire display to
> > be re-drawn.  While re-writing the portions of the application that
> > don't play nice with color depths beyond 8 bits, I  would like to
> > get this working without requiring updating our software if possible
> > as we have many different locations using their own customized
> > versions.
> >
> > I have verified that the backing store option does work for Xorg,
> > both if I run Fedora normally, that is load Gnome and use that as a
> > display manager, and if I just start Xorg manually with no display
> > managers.
> >
> > Any insights or help on getting this working would be appreciated.
> >
> > Thanks in advance,
> >
> > Doug K
> >
> Have you tried running it in xnest with the color depth set to 8 bit?
>
> Mikkel
> - --
>
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk5uph4ACgkQqbQrVW3JyMS6AwCfUnpq3DnnA3GT3eQqLL25CiyR
> 5/4An0XbcEenAf1xOMPGwuPWHxKeGwkg
> =ircH
> -END PGP SIGNATURE-
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>


Xnest did not work for our application.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Building X11R6.8 in Fedora 15 - Flex not found

2011-09-26 Thread Doug Kuvaas
I am trying to build an older version of X Server on Fedora 15 to
allow me to run a legacy application.  Fedora 8, which functions
correctly for our application, will not install on a new computer for
some reason, presumably because the new hardware uses UEFI, and Fedora
15 does not correctly run the application.

When I try to build X11R6.8 from source, I get the following error
"ld:  cannot find -lfl".  Doing some digging, I found that this error
is because the linker cannot find the flex library, however flex is
installed.  I am running a minimal install of Fedora 15 i686 with the
dev libraries and tools installed, nothing else.

Kernel Version is 2.6.38.6-26.rc1.fc15.i686.PAE

Does anyone have any ideas on how to clear this error?  All the
answers I found just said to install flex.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Building X11R6.8 in Fedora 15 - Flex not found

2011-09-26 Thread Doug Kuvaas
On Mon, Sep 26, 2011 at 4:02 PM, Terry Barnaby  wrote:
> On 09/26/2011 09:49 PM, Doug Kuvaas wrote:
>>
>> I am trying to build an older version of X Server on Fedora 15 to
>> allow me to run a legacy application.  Fedora 8, which functions
>> correctly for our application, will not install on a new computer for
>> some reason, presumably because the new hardware uses UEFI, and Fedora
>> 15 does not correctly run the application.
>>
>> When I try to build X11R6.8 from source, I get the following error
>> "ld:  cannot find -lfl".  Doing some digging, I found that this error
>> is because the linker cannot find the flex library, however flex is
>> installed.  I am running a minimal install of Fedora 15 i686 with the
>> dev libraries and tools installed, nothing else.
>>
>> Kernel Version is 2.6.38.6-26.rc1.fc15.i686.PAE
>>
>> Does anyone have any ideas on how to clear this error?  All the
>> answers I found just said to install flex.
>
> You may have to install the package flex-static to get a static version of
> the flex library.
>
> However, I don't think you will have much luck in building all of
> X11R6.8 and getting it to work under F15, at least not the XServer.
> The graphics driver, DRM and kernel API interfaces have significantly
> changed
> over the years. Also it is likely that the graphics board you are using
> isn't even supported ...
>

Thanks, this did fix the error that I was getting.  I don't have a
whole lot of faith in this as a possible solution, but it seems like
it may be about the only thing I can do.  Since the application I am
looking to run is 2D graphics only, just using the VESA driver is good
enough.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Building X11R6.8 in Fedora 15 - Flex not found

2011-09-27 Thread Doug Kuvaas
On Mon, Sep 26, 2011 at 11:56 PM, Don Quixote de la Mancha
 wrote:
> X11 is supposed to be upwards binary compatible.  If it won't run old
> applications, you should file a bug with Fedora.  If you can figure
> out what the difference is between the old X and the new X that
> enables your app to run on the old X, mention that in your bug report.
>
> --
> Don Quixote de la Mancha
> quix...@dulcineatech.com
>
>    Custom Software Development for the iPhone and Mac OS X
>    http://www.dulcineatech.com/custom-software-development/
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>

The problem that I am running into is not actually a bug in X, it
appears to be an incorrect assumption made in our X client. Namely,
the Xserver is not required to provide the backing store, and may
refuse it if resources are unavailable.  I have also been posting to
the Xorg mailing list and have received an answer stating this.  Xorg
seems to be moving away from supporting some of the old technologies
that were around a long time again and are now mostly dead.  The
legacy application I am trying to run was written back when 4 MBit
Token Ring networks were considered "High-speed", and serial terminals
were not uncommon.  This isn't a problem going forward, as we are
moving away from using this display technology in favor of using a web
application, however we have numerous customers still utilizing the
old system.  Since our software application is more or less custom
built for each customer, fixing our software may be a larger task than
finding a way to make new hardware work.  Someone in this thread did
mention a resources file.  This might be something to look at,
especially since it doesn't involve changing source code.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Need help USB modem

2012-02-28 Thread Doug Kuvaas
On Tue, Feb 28, 2012 at 5:54 AM, Roger  wrote:

> On 02/28/2012 07:00 PM, Ed Greshko wrote:
>
>> On 02/28/2012 03:27 PM, Roger wrote:
>>
>>> A friend of my daughter has converted from windows to Linux just
>>> yesterday but has a Sierra Aircard 312U wireless USB modem and cannot
>>> get internet on the laptop.
>>> I've spoent hours googling to no avail. Search shows that this modem
>>> is useless for Linux so can someone please tell me which wireless usb
>>> modems work best on all linux flavours, easy to set up, etc.
>>> There's got to be something but I haven't had any luck finding
>>> information.
>>> If this change is successful there could follow at least 3 others so I
>>> really need help here please.
>>> Cheers and thanks in advance
>>>
>>>  Quick question about the device
>>
>> What does it show up as when you plug it in and type lsusb?
>>
>>
>>  I don't know, I'll ask tomorrow
> Thanks
> Roger
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> Guidelines: 
> http://fedoraproject.org/wiki/**Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

Just out of curiosity, would switching to a wireless router that is
compatible with the air card, such as the Cradlepoint MBR900 be a viable
option?

I have never tried using a USB modem under linux, but I have used my phone
as a modem before.  Every time I have done this it has been as simple as
setting up the modem dialer (KPPP) to dial #777 using the USB modem (phone)
as a modem.  I haven't tried with my most recent phone though.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Need help USB modem

2012-03-02 Thread Doug Kuvaas
On Fri, Mar 2, 2012 at 6:17 AM, Roger  wrote:

> I have the laptop here at home for the weekend and still have trouble
> getting the Sierra aircard 312U modem to work.
>
> Following instruction on the Sierra site: http://www.sierrawireless.com/**
> Support/SupportCenter.aspx
>
> -Have installed the kernel module provided by Sierra for the latest kernel.
> -modinfo sierra shows the correct version
>
> -modinfo-sierra_net shows that ist's installed in /lib/modules/x/x/x/x/x/x/
> **sierra_net.ko
>
> -ls /dev/ttyUSB* shows /dev/ttyUSB0 to3
>
> ifconfig does not show the usb,
> it only has etho, lo and wlan0 so now I'm stuck as to where to go from
> here.
>
> Can someone please advise
> thanks in advance
> Roger
>
>
>
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> Guidelines: 
> http://fedoraproject.org/wiki/**Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

It looks to me like you just need to get the settings figured out to get
the modem to connect, and the modem itself is already working.  Like I
mentioned previously, every time I've used my phone as a modem, I just use
a dialer like KPPP and dial #777 as the access number.  I use Sprint
though, so the settings that you would use are probably different.

This page here may be of some assistance:
http://forums.whirlpool.net.au/forum-replies.cfm?t=897808

It looks like Telstra uses *99# as its access number and telstra.internet
as its apn which some networks require.

What version of Fedora/Linux are you running?  I have a Fedora 15 box here
with a HUWEI modem (no sim card though), and it seems pretty
straight-forward to get it to connect.  In Network Connections, there is a
Mobile Broadband tab.  If you click Add, it launches a wizard to add a new
connection.  It will first ask you which modem/connection device to use,
the next screen will prompt you for the region, the next screen will prompt
you for a carrier, or you can enter one manually.  The final screen shows
you all 3 selections that you just made.  When you click apply, it will
prompt you to enter a connection name, and update the Number, username, and
password.

When you have that done, you just select the connection from Network
Manager to connect.  With the hardware I have on hand here, I can see that
the modem is attempting to connect to the network, but as I don't have a
SIM card in this modem (it is for international travel), it doesn't
actually connect.

I hope this is helpful.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Need help USB modem

2012-03-02 Thread Doug Kuvaas
On Fri, Mar 2, 2012 at 4:49 PM, Roger  wrote:

> On 03/03/12 00:21, Antonio Olivares wrote:
>
>>
>> --- On Fri, 3/2/12, Roger  wrote:
>>
>>  From: Roger
>>> Subject: Re: Need help USB modem
>>> To: users@lists.fedoraproject.org
>>> Date: Friday, March 2, 2012, 4:17 AM
>>> I have the laptop here at home for
>>> the weekend and still have trouble getting the Sierra
>>> aircard 312U modem to work.
>>>
>>> Following instruction on the Sierra site: http://www.sierrawireless.com/
>>> **Support/SupportCenter.aspx
>>>
>>> -Have installed the kernel module provided by Sierra for the
>>> latest kernel.
>>> -modinfo sierra shows the correct version
>>>
>>> -modinfo-sierra_net shows that ist's installed in
>>> /lib/modules/x/x/x/x/x/x/**sierra_net.ko
>>>
>>> -ls /dev/ttyUSB* shows /dev/ttyUSB0 to3
>>>
>>> ifconfig does not show the usb,
>>> it only has etho, lo and wlan0 so now I'm stuck as to where
>>> to go from here.
>>>
>>> Can someone please advise
>>> thanks in advance
>>> Roger
>>>
>>>
>>>
>>>
>>> -- users mailing list
>>>
>> As a root user,
>> $ su -
>> passwd:
>>
>> do the following:
>>
>> # wvdialconf /etc/wvdial.conf
>>
>> it will scan for modem port, and hopefully it finds /dev/ttyUSB0 or your
>> true modem port.  Edit the file /etc/wvdial.conf as root user and add your
>> username, password and ISP phone number(Your isp that you use to connect),
>> then add a line "Carrier Check = no", "Stupid Mode = yes" to the
>> /etc/wvdial.conf file and save it.  Then, as root user do
>>
>> # wvdial
>>
>> and it should attempt to connect to the internet with that information
>> that you have input into the wvdial.conf file.  If all is well you should
>> see something like CONNECTED and some numbers (nameservers ) add these
>> numbers to /etc/resolv.conf and you should happily browse with your shiny
>> new USB modem.  Hope this helps.
>>
>
> Thanks Antonio and Rick
> This is where I got to last night and this morning.
> Have tried in both Fedora 16 and Ubuntu oneric. Ubuntu is on the student's
> laptop.
>
> sudo wvdial reports:
>
> --> WvDial: Internet dialer version 1.61
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: AT+CGDCONT=1, "IP", "telstra.internet"
> OK
> --> Modem initialized.
> --> Sending: ATDT*99#
> --> Waiting for carrier.
> CONNECT 2100
> --> Carrier detected.  Starting PPP immediately.
> --> Starting pppd at Sat Mar  3 09:21:43 2012
> --> Pid of pppd: 1965
> --> Using interface ppp0
> --> Disconnecting at Sat Mar  3 09:21:45 2012
> --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
> --> man pppd explains pppd error codes in more detail.
> --> Try again and look into /var/log/messages and the wvdial and pppd man
> pages for more information.
> --> Auto Reconnect will be attempted in 5 seconds
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: AT+CGDCONT=1, "IP", "telstra.internet"
> OK
> --> Modem initialized.
>
> It then repeats the above a number of times.
>
> ^CCaught signal 2:  Attempting to exit gracefully...
> --> Disconnecting at Sat Mar  3 09:21:49 2012
>
> I have tried both telstra.bigpond and telstra.internet, makes no
> difference.
>
>
> Roger
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> Guidelines: 
> http://fedoraproject.org/wiki/**Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

It sounds like you are making some progress at least.  I came across this
while looking for more information:

http://us.generation-nt.com/answer/sierra-aircard-312u-not-connecting-help-203152682.html

Which basically says that the usb device address is incorrect and needs to
be changed.

Try using different USB device files in
/etc/sysconfig/network-scripts/ifcfg-ppp0

The line of interest is MODEMPORT=/dev/ttyUSB3

See if maybe ttyUSB0, ttyUSB1, or ttyUSB2 work instead (provided it is
using ttyUSB3).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Remotely shutdown multiple PCs via script

2011-12-09 Thread Doug Kuvaas
Here is what I am trying to do:

>From a central server running HP-UX, I would like to shutdown multiple
Fedora PCs using a script.  This in itself is not a problem.  I have an
account on the machines added to the sudoers file to allow them to shut
down the systems, and connect to said systems using ssh.  I can get the
systems to shut down remotely using the command ssh -t user@host "sudo
/sbin/shutdown -h now".  If I run the script on the host computer it works
like I would expect.

The problem I am running into is the host computer is typically accessed
through one of the Fedora PCs being used to shut it down.  So when I run
the script, it gets to the point where it is telling the current computer
to shutdown, the script is terminated and no further systems shut down.

I have tried changing the command to the following:

ssh -t user@host "sudo /sbin/shutdown -h +1"  but the script wants to wait
for the shutdown command to complete, which takes a minute.

ssh -t user@host "nohup sudo /sbin/shutdown -h now&" but the command seems
to never even run (there is no nohup.out file generated)

ssh -t user@host "echo 'sudo /sbin/shutdown -h now' | at now + 1 minute"
 but the command never seems to run

I have made another script on the target PCs that merely consists of a
sleep command followed by the shutdown command and tried the above with the
same result.  I have also tried using screen but again it seems like it
doesn't work properly.

Anyone have any ideas?

Thanks
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Remotely shutdown multiple PCs via script

2011-12-09 Thread Doug Kuvaas
On Fri, Dec 9, 2011 at 2:02 PM, Alan Stern wrote:

> On Fri, 9 Dec 2011, Frank Elsner wrote:
>
> > > On Fri, 9 Dec 2011 14:16:00 -0500 (EST) Alan Stern wrote:
> > > On Fri, 9 Dec 2011, Doug Kuvaas wrote:
> > >
> > > > Here is what I am trying to do:
> > > >
> > > > >From a central server running HP-UX, I would like to shutdown
> multiple
> > > > Fedora PCs using a script.  This in itself is not a problem.  I have
> an
> > > > account on the machines added to the sudoers file to allow them to
> shut
> > > > down the systems, and connect to said systems using ssh.  I can get
> the
> > > > systems to shut down remotely using the command ssh -t user@host"sudo
> > > > /sbin/shutdown -h now".  If I run the script on the host computer it
> works
> > > > like I would expect.
> > > >
> > > > The problem I am running into is the host computer is typically
> accessed
> > > > through one of the Fedora PCs being used to shut it down.  So when I
> run
> > > > the script, it gets to the point where it is telling the current
> computer
> > > > to shutdown, the script is terminated and no further systems shut
> down.
> > >
> > > > Anyone have any ideas?
> > >
> > > When invoking the script from one of the PCs, run it in the background
> > > (maybe with nohup) so that it doesn't get killed when the PC shuts
> > > down.
> >
> > Whou! Programs started with nohup keep running after shutdown! Get real.
>
> Yes, of course programs started with nohup don't keep on running after
> shutdown.  That's not Doug's problem, however (although it may be a
> little hard to tell because of a grammatical mistake in his original
> post).
>
> His problem is that programs running _on the server_ need to keep on
> running after the _PC_ is shutdown.  That's exactly what nohup will do.
>
> Alan Stern
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

I have actually tried ssh -t user@host "nohup /path/to/shutdownscript &"
and it seemed to be doing the same thingwaiting for the shutdownscript
to finish before moving to the next line.I was expecting the nohup
 & to immediately return back to the script and not wait for the
command to complete.

I seem to have it figured out now though.  I should have been using ssh -f
instead of ssh -t for my script.  I also changed the nohup command so that
it redirects all output to /dev/null.  That fixed the command not returning
to the script issue that I was seeing.

I also discovered that I forgot to turn of the RequireTTY default for
sudoers, which was causing the script to work perfectly when I ran it
locally on the machines, but when trying to call the scripts remotely made
them appear to not run at all...they were running, the sudo command was
just refusing to run without a controlling terminal.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org