ubuntu 安装cups?ubuntu安装卡住

大家好,关于ubuntu 安装cups很多朋友都还不太明白,今天小编就来为大家分享关于ubuntu安装卡住的知识,希望对各位有所帮助!

ubuntu16.04添加网络打印机报错

1、首先报错

cups client error document format not supported

谷歌了尝试了一大堆解决方法没有用。

尝试从local:6300配置也无果。

大部分回答建议修改.conf文件。

或者reinstall cups or restart cups.

后来看到 建议说

于是安装这两个包:

得,连添加打印机都添加不了,又出现新错误:

'server-error-internal-error'

连 都打不开了

猜测新安装的包损坏了原有的CUPS。

重新安装CUPS,成功!!

2、总结:

3、Reference

惠普打印机如何在linux系统上查看是否正确安装

惠普打印机如何在linux系统上查看是否正确安装有七步。

1、查看系统是否安装cups。

2、查看系统是否安装hplip。

3、Kali和Deepin系统验证都预先已经安装了这两个软件,但是不是最新的,要更新一下,Ubuntu没有验证,但是有这个这两个软件都安完了,就算打印机已经可以看到,也连接成功,但还是无法打印的原因是,没有hpplugin组件。

4、在终端输入hp-plugin。

5、检验打印机是否安装成功,终端输入hpsetup,会弹出一个对话框进行打印机确认,一路下一步后打印机就会反应。

6、组件安装成功后,在主菜单里找到打印机设置。

7、点开打印机设置后,会看到安装成功的打印机。

如何设置ubuntu系统的串口输出

1.平台:intel X86 baytrail平台

2.由于开发模式需要查看内核串口输出,所以需要将linux系统从开机到系统引导起来的部分都定向到串口,那么如何设置呢?

安装ubuntu系统后(这里装的是14.10版本的ubuntu系统)

(1)首先设置grub参数:

修改/etc/default/grub文件:

修改如下内容为:

GRUB_CMDLINE_LINUX_DEFAULT="text console=tty0 console=ttyS0,115200n8"

然后增加一行:

GRUB_SERIAL_COMMAND="serial--unit=0--speed=115200--word=8--parity=no--stop=1"

然后执行update-grub,使配置生效

(2)然后在/etc/init/目录中创建ttyS0.conf,内容如下:

#ttyS0- getty

start on rc RUNLEVEL=[2345]

stop on runlevel [!2345]

respawn

exec/sbin/getty-L 115200 ttyS0 vt100

遗留问题:

系统起来后,在串口部分只显示到:

* Starting regular background program processing daemon[ OK ]

* Starting Signal sysvinit that alsa-utils tasks are complete[ OK ]

* Starting CPU interrupts balancing daemon[ OK ]

* Stopping save kernel messages[ OK ]

* Stopping Restore Sound Card State[ OK ]

* Starting cups-browsed- Bonjour remote printer browsing daemon[ OK ]

* Starting automatic crash report generation[ OK ]

* Starting configure virtual network devices[ OK ]

[ OK ]toring resolver state...

[ OK ]rting uuid generator uuidd

* speech-dispatcher disabled; edit/etc/default/speech-dispatcher

saned disabled; edit/etc/default/saned

* Stopping System V runlevel compatibility[ OK ]

* Stopping cold plug devices[ OK ]

* Stopping log initial device creation[ OK ]

* Starting save udev log and update rules[ OK ]

[ 150.593006] systemd-logind[947]: Failed to start unit user@1000.service: Unknown unit: user@1000.service

[ 150.602779] systemd-logind[947]: Failed to start user service: Unknown unit: user@1000.service

然后在VGA上有显示登录,但是串口上没有显示

这里需要进一步研究

不过总算将这一步做出来了,后面的问题就是开机脚本配置的问题了

阅读剩余
THE END